Replies: 2 comments
-
I don't have a solution, but I'm upvoting the idea for an easily extensible function to boost 'field.analyzer' combinations. Possibly with an extensible array within di.xml ? Would require extremely little changes and is very easy to add into. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Current solution (still feel hacky)
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a custom module based on #2543 (comment)
This basically works pretty well, but we want to optimize the relevance.
Ngram results should weight similarly high like normal matches in the title.
Currently we get matches from the description weighted higher then ngram matches in the title.
Do I have to manipulate that query or can I do it somewhere else?
The problem is, that there is no setter for the fields array.
As a Proof of concept I patched:
\Smile\ElasticsuiteCore\Index\Mapping::getWeightedSearchProperties
Which basically works, but I am wondering if there is a nicer way to boost this name.ngram field.
Beta Was this translation helpful? Give feedback.
All reactions