just curious, is there a better way to search multiple indexes at once rather than doing a listDocuments for each one? Any way to combine search queries to search all full text indices?
Sounds like you want to do an OR?
Sort of, I was trying to use search
over multiple indices
I have a data table in Vuetify that has a search parameter optionally, and when I search a collection I'd love to be able to search a list of attributes that are fulltext indexed rather than what seems to be like I need to search through each attribute?
Which is like:
Search(attr1, keyword) OR
Search(attr2, keyword) OR
Search(attr3, keyword)
Since we don't support OR yet, this isn't possible.
One hack with search is you can create 1 search attribute with all the data you want to search across and then create a full text index on that attribute
Ooooh that’s genius thank you for that ❤️
I’ll implement that today!!
[SOLVED] Best way to search multiple indexes?
Recommended threads
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...