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