You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/07/07 16:08:34 UTC
[jira] [Commented] (SOLR-2853) SpellCheckCollator.collate method
creates the a PossibilityIterator with maxTries instead of maxCollations
[ https://issues.apache.org/jira/browse/SOLR-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053678#comment-14053678 ]
Shalin Shekhar Mangar commented on SOLR-2853:
---------------------------------------------
Hi [~jdyer], is there a reason why this patch was not committed?
> SpellCheckCollator.collate method creates the a PossibilityIterator with maxTries instead of maxCollations
> ----------------------------------------------------------------------------------------------------------
>
> Key: SOLR-2853
> URL: https://issues.apache.org/jira/browse/SOLR-2853
> Project: Solr
> Issue Type: Bug
> Components: spellchecker
> Affects Versions: 3.3, 4.0-ALPHA
> Reporter: Matt Traynham
> Priority: Minor
> Attachments: SOLR-2853.patch, SOLR-2853.patch
>
>
> Class SpellCheckCollator creates a new possibility iterator based on the spellcheck results. The iterator is created with:
> PossibilityIterator possibilityIter = new PossibilityIterator(result.getSuggestions(), maxTries, maxEvaluations);
> The issue is maxTries, should be maxCollations. Correct me if I'm wrong.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org