[
https://issues.apache.org/jira/browse/SOLR-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14053698#comment-14053698
]
James Dyer commented on SOLR-2853:
----------------------------------
Shalin, Probably back in 2011 I got sidetracked doing something else and never
simply forgot! I can look into verifying the problem still exists and that the
patch works in the next day or so, unless you want to.
> 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: [email protected]
For additional commands, e-mail: [email protected]