0
votes

I run datastax 4.5 mahout on the solr indexing created by datastax 4.5.

dse mahout lucene.vector
--dir /var/lib/cassandra/data/solr.data/test.test/index/ 
--field body 
--dictOut $WORK_DIR/solr/wikipedia/dict.txt
--output $WORK_DIR/solr/wikipedia/out.txt 
--max 50

In the mahout page mentions "Your Lucene index must be created with the same version of Lucene used in Mahout. As of Mahout 0.9 this is Lucene 4.6.1. ". datastax 4.5 only offered mahout 0.8. I got Exception as it said in the page.

I installed Mahout 0.9 and tried the same command to read the datastax solr index. I got error "Exception in thread "main" java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'dse452' does not exist." It seems datastax have modified the solr index information.

Any clues about solving the compatible issue?

1

1 Answers