lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <>
Subject [jira] [Updated] (SOLR-6297) Distributed spellcheck with WordBreakSpellchecker can lose suggestions
Date Wed, 03 Sep 2014 17:47:51 GMT


James Dyer updated SOLR-6297:
    Attachment: SOLR-6297.patch

Here is an up-to-date patch for trunk.

> Distributed spellcheck with WordBreakSpellchecker can lose suggestions
> ----------------------------------------------------------------------
>                 Key: SOLR-6297
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.9
>            Reporter: Steve Molloy
>         Attachments: SOLR-6297.patch, SOLR-6297.patch, SOLR-6297.patch, SOLR-6297.patch
> When performing a spellcheck request in distributed environment with the WordBreakSpellChecker
configured, the shard response merging logic can lose some suggestions. Basically, the merging
logic ensures that all shards marked the query as not being correctly spelled, which is good,
but also expects all shards to return some suggestions, which isn't necessarily the case.
So if shard 1 returns 10 suggestions but shard 2 returns none, the final result will contain
no suggestions because the term has suggestions from only 1 of 2 shards.
> This isn't the case with the DirectSolrSpellChecker which works properly.

This message was sent by Atlassian JIRA

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

View raw message