Heyo.
I am trying to use this query: ?queries[]=search("multistores","db_nl")&queries[]=search("languages","nl")
I get nothing back from the collection. However when I use ?queries[]=search("multistores","db_nl"), it works fine. Is there something wrong with the syntax or something?
I have both "multistores" and "languages" as indexes. It just gives me an empty array if I use both.
TL;DR
User encountered an issue using the SEARCH query in the Rest API. When using two search queries in the API, the user was not getting any results back from the collection. However, when using only one search query, it worked fine. User is wondering if there is something wrong with the syntax or if there are issues with using multiple search queries. A solution was found in the GitHub discussion linked in the conversation.Here's an example of 2 documents, both having "db_nl" and "nl" in multistores and languages.
My attributes and indexes:
nl is too short. See https://github.com/appwrite/appwrite/discussions/5005
Bummer haha. Thanks!
[Solved] issue using SEARCH query in Rest API