I don't see why your index would be removed. Can you share the rest of your config?

On Feb 13, 2009, at 8:47 AM, Kartik Desikan wrote:

Hi folks,

I'm using solr 1.3
Here is the relevant section from my solrconfig.xml

<searchComponent name="spellcheck" class="solr.SpellCheckComponent">
<!-- <str name="queryAnalyzerFieldType">textSpell</ str> -->

               <lst name="spellchecker">
               <str name="name">default</str>
<!-- <str name="classname">solr.IndexBasedSpellChecker</str>
-->
               <!-- <str name="field">DESC</str> -->
<!-- <str name="spellcheckIndexDir">./spellchecker</ str> -->
               <str name="classname">solr.FileBasedSpellChecker</str>
               <str name="sourceLocation">/tmp/dct.txt</str>
               <str name="spellcheckIndexDir">./filespellchecker</str>
               <str name="accuracy">0.7</str>
               </lst>
</searchComponent>

Neither the indexbasedspellchecker, nor the filebasedchecker works for me. What happens is that after I add the spellcheck component in the solrconfig and subsequently restart my resin(3.16) server, my data index gets removed.

Before:
47M    webapps/index/solr/data/index
47M    webapps/index/solr/data/
After:
12K    webapps/index/solr/data/index
12K    webapps/index/solr/data/filespellchecker
28K    webapps/index/solr/data/

Can anyone clue me into why this is happening?

Thanks a lot!
Kartik

Reply via email to