xp
xp copied to clipboard
New, advanced fulltext-function
We should introduce an advanced fulltext-function in the query-language that will map to the more anvanced QueryStringQuery-function in ES: https://www.elastic.co/guide/en/elasticsearch/reference/1.5/query-dsl-query-string-query.html
Related to customer-issue: https://discuss.enonic.com/t/elasticsearch-feature-should-to-boost-specific-words/1629/2
Discussion about name of the function and details about what parameters to accept must be discussed further before starting task.
@sigdestad To boost words rather than fields is what I need to make synonyms work well. I would like the actual typed in search string to be booster highest and a hierarchy of synonyms to have ever decreasing levels of boost. That should make it possible to tune such that synonyms don't take over the search results entirely.
@sigdestad This will also make it possible to boost down stop words. I consider this issue the most important feature that would improve our search functionality the most. Please prioritize this task.
This is indeed interesting! Let's discuss this in relation to the other changes desired by NAV - meeting tomorrow I hope!
It would be nice if this was implemented at the same time as suggestions. Then I would disable fuzziness, first do a quick suggestions query and then decorate the real query accordingly with decreasing boosts.