[ https://issues.apache.org/jira/browse/LUCENE-8347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022532#comment-17022532 ]
Lucene/Solr QA commented on LUCENE-8347: ---------------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 7s{color} | {color:red} LUCENE-8347 does not apply to master. Rebase required? Wrong Branch? See https://wiki.apache.org/lucene-java/HowToContribute#Contributing_your_work for help. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Issue | LUCENE-8347 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12926717/LUCENE-8347.patch | | Console output | https://builds.apache.org/job/PreCommit-LUCENE-Build/250/console | | Powered by | Apache Yetus 0.7.0 http://yetus.apache.org | This message was automatically generated. > BlendedInfixSuggester to handle multi term matches better > --------------------------------------------------------- > > Key: LUCENE-8347 > URL: https://issues.apache.org/jira/browse/LUCENE-8347 > Project: Lucene - Core > Issue Type: Improvement > Components: core/search > Affects Versions: 7.3.1 > Reporter: Alessandro Benedetti > Priority: Major > Attachments: LUCENE-8347.patch, LUCENE-8347.patch > > Time Spent: 10m > Remaining Estimate: 0h > > Currently the blendedInfix suggester considers just the first match position > when scoring a suggestion. > From the lucene-dev mailing list : > " > If I write more than one term in the query, let's say > > "Mini Bar Fridge" > > I would expect in the results something like (note that allTermsRequired=true > and the schema weight field always returns 1000) > > - *Mini Bar Fridge* something > - *Mini Bar Fridge* something else > - *Mini Bar* something *Fridge* > - *Mini Bar* something else *Fridge* > - *Mini* something *Bar Fridge* > ... > > Instead I see this: > > - *Mini Bar* something *Fridge* > - *Mini Bar* something else *Fridge* > - *Mini Bar Fridge* something > - *Mini Bar Fridge* something else > - *Mini* something *Bar Fridge* > ... > > After having a look at the suggester code > (BlendedInfixSuggester.createCoefficient), I see that the component takes in > account only one position, which is the lowest position (among the three > matching terms) within the term vector ("mini" in the example above) so all > the suggestions above have the same weight > " > Scope of this Jira issue is to improve the BlendedInfix to better manage > those scenarios. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org