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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13722981#comment-13722981 ] 

Uwe Schindler commented on LUCENE-5146:
---------------------------------------

Sorry but your code is of course wrong :-)
                
> 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