Moderator
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?
Votes
0
Replies
7
Participants
Unknown
Messages
8
Moderator
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?
Admin
Sounds like you want to do an OR?
Moderator
Sort of, I was trying to use search over multiple indices
Moderator
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?
Admin
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
Moderator
Ooooh that’s genius thank you for that ❤️
Moderator
I’ll implement that today!!
Moderator
[SOLVED] Best way to search multiple indexes?