[
https://issues.apache.org/jira/browse/LUCENE-5146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Willnauer updated LUCENE-5146:
------------------------------------
Attachment: LUCENE-5146.patch
here is a patch
> AnalyzingSuggester sort order doesn't respect the actual weight
> ---------------------------------------------------------------
>
> Key: LUCENE-5146
> URL: https://issues.apache.org/jira/browse/LUCENE-5146
> Project: Lucene - Core
> Issue Type: Bug
> Components: modules/spellchecker
> Affects Versions: 4.4
> Reporter: Simon Willnauer
> Fix For: 5.0, 4.5
>
> Attachments: LUCENE-5146.patch
>
>
> Uwe would say: "sorry but your code is wrong". We don't actually read the
> weight value in AnalyzingComparator which can cause really odd suggestions
> since we read parts of the input as the weight. Non of our tests catches that
> so I will go ahead and add some tests for it as well.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]