Boolean search? AND, OR #626
Replies: 5 comments 20 replies
-
Hey @Fossil01, It is not something that Meilisearch wants to support, the engine aims at being the best user-facing search engine. Therefore, we target user queries and not SQL-like syntax queries. However, the engine supports filters and facets maybe you can tag your documents and use that instead. You can read more on our dedicated documentation page. |
Beta Was this translation helpful? Give feedback.
-
That's disappointing. |
Beta Was this translation helpful? Give feedback.
-
Also surprised this isn't supported. As searches get more complex, it can be very difficult to find the correct documents. Most users understand negation, it's been supported in search engines forever. |
Beta Was this translation helpful? Give feedback.
-
+1 on this, I don't really understand how being a user-facing search engine would exclude features like this, regardless of the exact syntax or API that ends up being implemented. This type of expressions are provided by many search engines such as Twitter's and are very useful to filter down to specific content. |
Beta Was this translation helpful? Give feedback.
-
I have written a blog post about implementing OR condition with meilisearch https://dev.to/bedram-tamang/implementing-boolean-or-search-in-meilisearch-4hfn |
Beta Was this translation helpful? Give feedback.
-
Does Meilisearch currently support boolean search? Like:
Truman || Bond
orTruman OR Bond
or(Truman OR Bond) AND Comedy
. I cannot get this to work in the Sandbox with the 5000 movie example index.Beta Was this translation helpful? Give feedback.
All reactions