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

Matt Traynham commented on SOLR-2853:
-------------------------------------

James,
Thanks for looking into this again.  I completely agree with your fix and 
appreciate the 411 on the context between maxTries and maxCollations.

Matt
                
> 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
>            Reporter: Matt Traynham
>            Priority: Minor
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to