-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make search queries more coherent #193
Labels
Comments
github-project-automation
bot
moved this to Backlog (ready for dev)
in 🔎 Search-a-licious
Jun 26, 2024
@raphael0202 this should be discussed to see what's best (next month) |
I started working on this, to better handle text and avoid having a big index because of synonyms. Here is my plan:
I'm currently working on generating synonyms files and integrating them in query analyzer. |
teolemon
changed the title
Make search queries more coherents
Make search queries more coherent
Aug 21, 2024
2 tasks
alexgarel
added a commit
that referenced
this issue
Oct 24, 2024
* Using synonyms capabilities of ES to avoid storing taxonomies fields in the index * Better handling of full text queries that support them within any expression * make boost_phrase a separate parameter * Raise errors if the query is not well understood or do not pass some sanity checks * Use main translation of taxonomy for facets values (instead of a random synonym) * Better handling of global config to avoid treacherous patterns * Unify parameters for Get and Post (better use of pydantic) * Error on extraneous search parameters to avoid hard to debug issues with typos * Add a command to clean indexes * Integrations tests on search and analyzers Part of: #193 --------- Co-authored-by: Raphaël Bournhonesque <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are trying to abstract out complexity of Elasticsearch through a configuration and Lucene query language.
Right now this abstraction is quite leaky. For example if you declare labels as a text_lang field, you should query, eg. labels.en:"my query" to reach it. While you also specify which language you want to query with. There are a number of other problems of this type.
Most of those problems can be solved by using Lucene to modify the request on the fly, based upon field deficinition
To be fixed
The text was updated successfully, but these errors were encountered: