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

James Dyer commented on SOLR-2491:
----------------------------------

I think this issue can go separately from SOLR-2564 and have it use ungrouped 
queries.  This little patch allows people to use both features in tandem now 
rather than waiting for later (for instance, I have an app in production using 
this patch now...) .

As a follow-up to SOLR-2564, it would be nice to give the user the option to 
return # of grouped hits.  If the end-user is receiving groups as results and 
the app gives a message like "300 results (groups) returned", then in the case 
of a misspelled query, any "did-you-mean" message that includes # of hits would 
probably need to be consistent and give # groups rather than # documents.  So 
this would be useful additional functionality, whenever we indeed get grouping 
that can return # groups...

Maybe a separate issue should be opened just for this, and it can be worked 
after SOLR-2564 goes in?

> 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
>            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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to