lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Dyer (JIRA)" <>
Subject [jira] [Updated] (SOLR-2993) Integrate WordBreakSpellChecker with Solr
Date Tue, 05 Jun 2012 17:42:23 GMT


James Dyer updated SOLR-2993:

    Attachment: SOLR-2993-fixes.patch

Here is a patch that re-activates the previously-failing tests and fixes all the problems.
 All tests pass and I checked the solr example also.  Here's a summary of the problems:

- TestSpellCheckResponse had a test bug in that data wasn't being cleaned from the index between
tests.  Bug did not mainfest until I made solr example changes.
- Some asserts in TestSpellCheckResponse needed modifying to conform to changes in the solr
example (test relies on example config).
- ConjunctionSolrSpellChecker was not preverving the original token doc freq's from the child
spellcheckers.  Bug wasn't being properly tested for before, but showed up once TestSpellCheckResponse
was fixed.
- WordBreakSolrSpellChecker was not generating original token doc freq's.  Bug wasn't being
properly tested for before, but showed up once TestSpellCheckResponse was fixed.

I will commit shortly.
> Integrate WordBreakSpellChecker with Solr
> -----------------------------------------
>                 Key: SOLR-2993
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: spellchecker
>    Affects Versions: 4.0
>            Reporter: James Dyer
>            Assignee: James Dyer
>            Priority: Minor
>             Fix For: 4.0, 5.0
>         Attachments: SOLR-2993-fixes.patch, SOLR-2993.patch, SOLR-2993.patch, 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