Lately I've been having issues with the spellchecker failing to properly rebuild my spell index. I used to be able to delete the spell directory and reload the core and build the index fine if it ever crapped out, but now I can't even build it.

java.io.FileNotFoundException: /home/dsteiger/solr/data/spell/_8c.cfs (No such 
file or directory)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
        at 
org.apache.lucene.store.FSDirectory$FSIndexInput$Descriptor.<init>(FSDirectory.java:506)
        at 
org.apache.lucene.store.FSDirectory$FSIndexInput.<init>(FSDirectory.java:536)
        at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:445)
        at 
org.apache.lucene.index.CompoundFileReader.<init>(CompoundFileReader.java:70)
        at 
org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:181)
        at org.apache.lucene.index.SegmentReader.get(SegmentReader.java:167)
.......

Here's the query: /solr/dsteiger/select/?q=test&qt=spellchecker&cmd=rebuild

Here's my config snippet:

    <requestHandler name="spellchecker" class="solr.SpellCheckerRequestHandler" 
startup="lazy">
        <lst name="defaults">
            <int name="suggestionCount">1</int>
            <float name="accuracy">0.5</float>
        </lst>
        <str name="spellcheckerIndexDir">spell</str>
        <str name="termSourceField">spell</str>
    </requestHandler>

Anyone have any ideas?

Doug

Reply via email to