[ 
https://issues.apache.org/jira/browse/SOLR-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shalin Shekhar Mangar updated SOLR-572:
---------------------------------------

    Attachment: SOLR-572.patch

*Changes*

# Moved Analyzer from AbstractLuceneSpellChecker to SolrSpellChecker since some 
form of query-time analysis would probably be needed for all spell checker 
implementations. Added a getQueryAnalyzer() method in SolrSpellChecker.
# Value specified for spellcheck.q is analyzed using the query analyzer for the 
dictionary as per the config (using the SolrSpellChecker.getQueryAnalyzer). The 
value for "q" will continue to be analyzed by QueryConvertor.
# Removed the EncodedTextDictionary class. Now that we're using the lucene-2.4 
spellchecker, it is no longer needed because the previously protected 
constructor of PlainTextDictionary is made public in 2.4
# Added org.apache.solr.spelling to package list which can be searched by 
SolrResourceLoader. Now we can write solr.IndexBasedSpellChecker instead of the 
fully qualified class name.
# "classname" attribute in configuration is optional now, it defaults to 
IndexBasedSpellChecker
# Minor additions to javadocs

> Spell Checker as a Search Component
> -----------------------------------
>
>                 Key: SOLR-572
>                 URL: https://issues.apache.org/jira/browse/SOLR-572
>             Project: Solr
>          Issue Type: New Feature
>          Components: spellchecker
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, 
> SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, 
> SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, 
> SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, 
> SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, 
> SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, SOLR-572.patch, 
> SOLR-572.patch, SOLR-572.patch, SOLR-572.patch
>
>
> http://wiki.apache.org/solr/SpellCheckComponent
> Expose the Lucene contrib SpellChecker as a Search Component. Provide the 
> following features:
> * Allow creating a spell index on a given field and make it possible to have 
> multiple spell indices -- one for each field
> * Give suggestions on a per-field basis
> * Given a multi-word query, give only one consistent suggestion
> * Process the query with the same analyzer specified for the source field and 
> process each token separately
> * Allow the user to specify minimum length for a token (optional)
> Consistency criteria for a multi-word query can consist of the following:
> * Preserve the correct words in the original query as it is
> * Never give duplicate words in a suggestion

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to