lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <>
Subject [jira] [Commented] (SOLR-2491) spellcheck.maxCollationTries breaks when using FieldCollapsing
Date Tue, 07 Jun 2011 14:33:58 GMT


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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message