lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2993) Integrate WordBreakSpellChecker with Solr
Date Mon, 09 Jan 2012 20:55:40 GMT


James Dyer commented on SOLR-2993:

So "spa llcheck" is preferred over "spellcheck" if spa has more hits then spellcheck.
I honestly didn't try this much with queries having all optional terms.  I see what you mean,
though that you might prefer it just leave the misspelled word in there if its an optional
term anyhow.  But wouldn't the query, in addition to giving spelling suggestions, also return
some results because it would ignore the optional & misspelled query terms?  If that's
the case, your app can look at the results you got back and compare that to the collation
options and determine what to do from there.

no suggestions were given when both word fragments were spelled correctly
As discussed in SOLR-2585, you can't get suggestions for terms that are in the index, unless
you specify "spellcheck.onlyMorePopular=true".  Of course "onlyMorePopular" can have its own
unintended consequences.  Hopefully someday in the not too distant future we'll be in a state
where we can have both this issue and SOLR-2585 working together.
> Integrate WordBreakSpellChecker with Solr
> -----------------------------------------
>                 Key: SOLR-2993
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud, spellchecker
>    Affects Versions: 4.0
>            Reporter: James Dyer
>            Priority: Minor
>             Fix For: 4.0
>         Attachments: SOLR-2993.patch
> A SpellCheckComponent enhancement, leveraging the WordBreakSpellChecker from LUCENE-3523:
> - Detect spelling errors resulting from misplaced whitespace without the use of shingle-based
> - Seamlessly integrate word-break suggestions with single-word spelling corrections from
the existing FileBased-, IndexBased- or Direct- spell checkers.  
> - Provide collation support for word-break errors including cases where the user has
a mix of single-word spelling errors and word-break errors in the same query.  
> - Provide shard support.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message