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

ASF subversion and git services commented on SOLR-2853:
-------------------------------------------------------

Commit 1609173 from [email protected] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1609173 ]

SOLR-2853: unit test for "spellcheck.maxCollationTries=0"

> 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]

Reply via email to