xp icon indicating copy to clipboard operation
xp copied to clipboard

New, advanced fulltext-function

Open runarmyklebust opened this issue 6 years ago • 4 comments

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.

runarmyklebust avatar Sep 07 '18 09:09 runarmyklebust

@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.

ComLock avatar Nov 20 '18 08:11 ComLock

@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.

ComLock avatar Dec 18 '18 08:12 ComLock

This is indeed interesting! Let's discuss this in relation to the other changes desired by NAV - meeting tomorrow I hope!

sigdestad avatar Dec 18 '18 18:12 sigdestad

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.

ComLock avatar Jan 14 '19 10:01 ComLock