openfoodfacts / search-a-licious

🍊🔎 A pluggable search service for large collections of objects (like Open Food Facts)
https://search.openfoodfacts.org
GNU Affero General Public License v3.0
6 stars 4 forks source link

Create the elastic search query in a more precise and flexible way #117

Open alexgarel opened 1 month ago

alexgarel commented 1 month ago

What

Proposed solution

Part of

alexgarel commented 1 month ago

I changed the implementation to be more straightforward while keeping the full text term / filters separation.

It's good enough for now but this ticket will be kept open because the good solution is to correctly change the Word search as we transform the tree to an ES query.