Hello, Is it possible to query multiple fields with full-text indexation?
For example, I want to search "Adidas" in a collection of sneakers, and return both sneakers which name or brand match. A dirty solution would be to create and index a new field with both terms, but not ideal.
Also, can I query the content of a relation? (Find sneakers where sneaker->brand->name matches "Adidas")
Also, can I query the content of a relation? (Find sneakers where sneaker->brand->name matches "Adidas")
Unfortuently that is not supported yet
Is it possible to query multiple fields with full-text indexation?
Yes, But only using AND logic
You can see more details here https://discord.com/channels/564160730845151244/1108179606680383508/1108205828894375956
Great, thanks for the quick response!
Also, happy to tell you that after a few months following Appwrite's development I finally chose it as our default backend for my dev agency. Currently creating our first production-ready app 🙂
That's great to know @42Tom
Recommended threads
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...
- Query.search limitation
Since `string` is deprecated I used `varchar`, and now I cant use `Query.contains` , so I setup fulltext index and started using `Query.search` the issue is `Qu...