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

Otis Gospodnetic updated SOLR-81:
---------------------------------

    Attachment: SOLR-81-ngram.patch

Here is a new patch that should include everything:
- New SpellCheckerRequestHandler
- Updated solrconfig.xml that defines the above handler and maps it to 
/spellechecker
- New NGramTokenizerFactory
- New EdgeNGramTokenizerFactory (includes Adam's changes)
- Modified BaseTokenizerFactory (used by the above 2 factories)
- Updated schema.xml that configures the above 2 factories to tokenize the 
input words into n-grams as required by the Lucene contrib SpellChecker (see 
http://wiki.apache.org/jakarta-lucene/SpellChecker for examples of n-grams used 
by the SpellChecker)


> Add Query Spellchecker functionality
> ------------------------------------
>
>                 Key: SOLR-81
>                 URL: https://issues.apache.org/jira/browse/SOLR-81
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>            Reporter: Otis Gospodnetic
>            Priority: Minor
>         Attachments: SOLR-81-edgengram-ngram.patch, 
> SOLR-81-ngram-schema.patch, SOLR-81-ngram.patch, SOLR-81-ngram.patch
>
>
> Use the simple approach of n-gramming outside of Solr and indexing n-gram 
> documents.  For example:
> <doc>
> <field name="word">lettuce</field>
> <field name="start3">let</field>
> <field name="gram3">let ett ttu tuc uce</field>
> <field name="end3">uce</field>
> <field name="start4">lett</field>
> <field name="gram4">lett ettu ttuc tuce</field>
> <field name="end4">tuce</field>
> </doc>
> See:
> http://www.mail-archive.com/solr-user@lucene.apache.org/msg01254.html
> Java clients: SOLR-20 (add delete commit optimize), SOLR-30 (search)

-- 
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