lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5146) AnalyzingSuggester sort order doesn't respect the actual weight
Date Tue, 30 Jul 2013 12:25:49 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-5146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723788#comment-13723788
] 

Michael McCandless commented on LUCENE-5146:
--------------------------------------------

Thanks Simon!
                
> 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
>            Assignee: Simon Willnauer
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5146.patch, 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


Mime
View raw message