I was going to do this create a new field(termsourcefield) called 'spell' <field name="spell" type="spell" indexed="true" stored="false" multiValued="true"/> of type 'spell' <fieldType name="spell" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory "/> <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/> <filter class="solr.StandardFilterFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/> <filter class="solr.StopFilterFactory" ignoreCase="true" words=" stopwords.txt"/> <filter class="solr.StandardFilterFactory"/> <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> </analyzer> </fieldType>
copy my 'name' and 'body' fields to this 'spell' field at index time <copyField source="name" dest="spell"/> <copyField source="body" dest="spell"/> But like you had mentioned, the tutorial says we have to use it on a field thats not tokenized. Now how to use my tokenized fields 'body' and 'name' to build my spell index? How to use it effectively for spell checking on multi-word queries? anuvenk wrote: > > Is it possible to implement something like this with the spellcheckhandler > > Like how google does,.. > > say i search for 'chater 13 bakrupcy', > > should be able to display these.. > > did you search for 'chapter 13 bankruptcy' > > Has someone been able to do this? > -- View this message in context: http://www.nabble.com/spellcheckhandler-tp14627712p14977717.html Sent from the Solr - User mailing list archive at Nabble.com.