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
- AppwriteException: Invalid query: Query ...
```js console.log(typeof interaction.user.id) console.log(interaction.user.id) const user_check = await TablesDB.listRows({ databaseId: "db", ...
- Files access permissions
Am I right in understanding that file access permissions have been disabled (or broken again), and that shared access can now only be organized via tokens? Or i...
- functions custom domain issues in self h...
I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict). Main domain works: https://app.printa4.in Function subdomains fa...