[
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
I think this is the final version - tested it, and it works.
I'd like to commit this next week, so please have a look if you have time.
This is what's in the patch:
A lib/lucene-spellchecker-2.2-dev.jar
A lib/lucene-analyzers-2.2-dev.jar
A src/java/org/apache/solr/analysis/NGramTokenFilterFactory.java
M src/java/org/apache/solr/analysis/BaseTokenFilterFactory.java
A src/java/org/apache/solr/analysis/EdgeNGramTokenFilterFactory.java
A src/java/org/apache/solr/request/SpellCheckerRequestHandler.java
C example/solr/conf/schema.xml
M example/solr/conf/solrconfig.xml
I think you can ignore that "C" -- there is no conflict in the file, actually.
> 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,
> 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/[email protected]/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.