Hi,

We are trying to implement file based search in our application using Solr 1.4. 
This is the code we have written

-<http://lllydevvm02.sixfeetup.com:8983/solr/admin/file/?file=solrconfig.xml> 
<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
-<http://lllydevvm02.sixfeetup.com:8983/solr/admin/file/?file=solrconfig.xml> 
<lst name="spellchecker">
  <str name="name">default</str>
  <str name="classname">solr.FileBasedSpellChecker</str>
  <str 
name="sourceLocation">/usr/home/lilly/sixfeetup/projects/alm-buildout/etc/solr/spelling.txt</str>
  <str name="spellcheckIndexDir">./filespellchecker</str>
  <str name="accuracy">0.7</str>
  </lst>
  <str name="queryAnalyzerFieldType">text</str>
  </searchComponent>


We are facing a issue and need your help on the same.

When the user searches for a word "medicine", which is a correct word and is 
present in the dictionary. We still get a suggestion "medicines" from 
dictionary.

We only want suggestion if the word is incorrectly spelled or is not included 
in the dictionary.

Can you please provide some suggestions.

Regards,
Sanjay Dua

Reply via email to