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

James Dyer commented on SOLR-3758:
----------------------------------

I did looked a little at this and it seems that when "group=true", the first 
stage request doesn't reach all the shards.  For the case I was testing, with 2 
shards, only 1 shard would get the request.  This would make the spellchecker 
work some of the time and fail others.  I haven't figured out for sure why this 
happens though.  Possibly the grouping logic short-circuits and doesn't bother 
requesting to shards that are known not to contain the groups that will be 
returned?
                
> DirectSolrSpellChecker doesn't work when using group.
> -----------------------------------------------------
>
>                 Key: SOLR-3758
>                 URL: https://issues.apache.org/jira/browse/SOLR-3758
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, spellchecker
>    Affects Versions: 4.0-BETA
>         Environment: Linux Debian 6 / SolrCloud with 2 shards and 2 replicas.
>            Reporter: Christian Johnsson
>              Labels: DirectSolrSpellChecker, bug, spellchecker, suggestions
>
> It seems like spellchecker using solr.DirectSolrSpellChecker doesn't work 
> when grouping results.
> /select?q=mispeled
> Gives me correct spellingsuggestions
> but..
> /select?q=mispeled&group=true&group.main=true&group.field=title
> don't give any suggestions.
> It worked in 3.5 with indexbased spellchecker.
> It seems like if i mispell something that returns 0 results i dont get any 
> suggestions. If i misspell something that genereate a result i get 
> suggestions on it.
> It should come up with proper suggestions even if there are no results to be 
> displayed (But there is things that should be suggested).
> Long story short. Same functionality as in 3.5 :-)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]

Reply via email to