You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2013/07/29 15:19:50 UTC

[jira] [Updated] (LUCENE-5146) AnalyzingSuggester sort order doesn't respect the actual weight

     [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org