You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/06/07 17:17:59 UTC

[jira] [Resolved] (SOLR-2491) spellcheck.maxCollationTries breaks when using FieldCollapsing

     [ https://issues.apache.org/jira/browse/SOLR-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved SOLR-2491.
-------------------------------

    Resolution: Fixed
      Assignee: Robert Muir

Committed revision 1133043.

Thanks James!

> spellcheck.maxCollationTries breaks when using FieldCollapsing
> --------------------------------------------------------------
>
>                 Key: SOLR-2491
>                 URL: https://issues.apache.org/jira/browse/SOLR-2491
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: James Dyer
>            Assignee: Robert Muir
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: SOLR-2491.patch
>
>
> If specifying "spellcheck.maxCollationTries" and "group=true" on the same query, you never get any Spell Check Collations back.  The problem is that SpellCheckCollator relies on ResponseBuilder.getToLog().get("hits") to see how many results each test query returns.  When "group=true", the "toLog" isn't populated so SpellCheckCollator is unable to find a collation that can return results.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org