[
https://issues.apache.org/jira/browse/SOLR-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13135542#comment-13135542
]
Matt Traynham commented on SOLR-2853:
-------------------------------------
Ahh yes, that makes sense. I was under the assumption that one might want up
to a "maxCollations" of possibilities returned, instead of just the first one,
even if "maxTries" is zero. But thanks that clears up my issue.
:) No problem looking into code, it's very interesting work.
> 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]