Hi all

Please suggest me any link or documentation which will help me to understand
the working of accuracy on solr server.

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/How-spell-checker-accuracy-works----tp21456489p21456489.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to