[
https://issues.apache.org/jira/browse/LUCENE-2995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Muir updated LUCENE-2995:
--------------------------------
Attachment: LUCENE-2995.patch
Just a quick shot at this (all tests pass).
Really any serious 'refactoring' e.g. perf improvements should be on followup
issues I think.
before applying the patch, run this:
{noformat}
svn move lucene/contrib/spellchecker modules
svn move solr/src/java/org/apache/solr/util/HighFrequencyDictionary.java
modules/spellchecker/src/java/org/apache/lucene/search/spell
svn move solr/src/java/org/apache/solr/util/TermFreqIterator.java
modules/spellchecker/src/java/org/apache/lucene/search/spell
svn move solr/src/java/org/apache/solr/util/SortedIterator.java
modules/spellchecker/src/java/org/apache/lucene/search/spell
svn move solr/src/java/org/apache/solr/spelling/suggest/Suggester.java
solr/src/java/org/apache/solr/spelling
svn move solr/src/java/org/apache/solr/spelling/suggest
modules/spellchecker/src/java/org/apache/lucene/search/spell
{noformat}
> factor out a shared spellchecking module
> ----------------------------------------
>
> Key: LUCENE-2995
> URL: https://issues.apache.org/jira/browse/LUCENE-2995
> Project: Lucene - Java
> Issue Type: Task
> Reporter: Robert Muir
> Fix For: 4.0
>
> Attachments: LUCENE-2995.patch
>
>
> In lucene's contrib we have spellchecking support (index-based spellchecker,
> directspellchecker, etc).
> we also have some things like pluggable comparators.
> In solr we have auto-suggest support (with two implementations it looks
> like), some good utilities like HighFrequencyDictionary, etc.
> I think spellchecking is really important... google has upped the ante to
> what users expect.
> So I propose we combine all this stuff into a shared modules/spellchecker,
> which will make it easier
> to refactor and improve the quality.
--
This message is automatically generated by JIRA.
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]