[ https://issues.apache.org/jira/browse/SOLR-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478277 ]
Otis Gospodnetic commented on SOLR-81: -------------------------------------- Adam: I can merge our patches to produce a unified one. NOTE: The SpellCheckerCommitRequestHandler assumes that: a) one wants to populate the spellchecker index with data from another Lucene index. b) the Lucene index to be used for populating is available on the same box where the spellchecker service is running. I think both a) and b) are good - let those who want this functionality have it. However, some may not be able to live with these assumptions (e.g. one may want to have a server dedicated to spellchecker service, and may not want to push the source Lucene index to the spellchecker box.) For those people, the approach that includes schema.xml modifications will be required, unless I'm missing something. Am I? Also, I think this is a mistake: accuracy = p.getFloat("accuracy", DEFAULT_NUM_SUGGESTIONS); You probably wanted DEFAULT_ACCURACY there, but that doesn't exist yet, so I'll fix that. > 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, SOLR-81-spellchecker.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.