Hi all 

The search with an accuracy defined by user in SOLRCONFIG.XML is not working
for me. I have provided an example below.
Please let  me know your valuable suggestion.

For example: 
Accuracy tag is used in Solrconfig.xml file in below manner. 

  <searchComponent name="spellcheck" class="solr.SpellCheckComponent"> 
    <str name="queryAnalyzerFieldType">textSpell</str> 
      <lst name="spellchecker"> 
      <str name="name">default</str> 
      <str name="classname">solr.spelling.FileBasedSpellChecker</str> 
      <str name="sourceLocation">./spellings.txt</str> 
      <str name="characterEncoding">UTF-8</str> 
      <str name="spellcheckIndexDir">./spellcheckerFile</str> 
          <str name="accuracy">0.70</str>    </lst> 
  </searchComponent> 

As per above description, the accuracy set to 0.70 which means to 70% 
The keyword ( java ) is stored in spellings.txt file which is also mentioned
above. 

Now if I try to make search for "jav" word, there is no result found (This
is the problem, why there is no result ??) 

where as 
If I replace (java) keyword with (javas) in spellings.txt file and keep the
accuracy 0.70 ... 

Now if I try to make search for "jav" word, I start getting the results ... 

What is this behaviour ?? Does anyone knows what is the reason  ... 

Regards, 
Navdeep
-- 
View this message in context: 
http://www.nabble.com/%3Cstr-name%3D%22accuracy%22%3E0.70%3C-str%3E-%7C%7C-Spell-Checker-Issue-%21%21-tp21460978p21460978.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to