How can I create OR or AND in query
I want input string: xxx => then any code, familyName, .... contain xxx will return
This is not available yet. You can track that issue progress here
As for now, a quick workaround would be create another attribute named search that contained all those value separate by space. then, add full-text index for that attribute
then how can the search like &xxx&
search , return specific right?
Like
Query.search("search", "key words")
its only works when I type exact keyword = attribute of doucment
Ohh, yes for that part the start with you'll still use the startWith query
is this going to be out any time soon
if so I would not need to write custom logic to create conditional search
For that you'll need to ask <:appwrite:637383039499894787> core member
Sorry I don't understand what you're trying to do
bascially, when send the search string to server, it could search in multiple attributes
Ah right. Logical OR is not supported like Binyamin said. I don't know when it will be added.
For now, I suggest creating an attribute with all the data you want to search against. Then, you can search on that attribute
any example of that
Recommended threads
- Which flutter SDK version for Self Hoste...
Hi all, Is there a good way to figure out which version of flutter SDK and Dart SDK is current for latest available self-hosted 1.8.0 ? I know new features are...
- Google Auth not working in a React App
Authentication with Google has failed. It redirects back to the signin route in React. Attached screenshots for configuration of Google console and Appwrite Go...
- Bug Report: Crash when trying to createR...
https://github.com/appwrite/sdk-for-android/issues/96 I think the bug is related with this one https://discord.com/channels/564160730845151244/1443887021314539...