I have installed Data-Sax Cassandra community edition(2.2.3) on my machine and I want to use full text Search. I have downloaded the Stratio lucene index 2.2.3 and copied it to the Cassandra lib folder but when I execute the command to create index as below
CREATE CUSTOM INDEX tweets_index ON tweets (lucene)
USING 'com.stratio.cassandra.lucene.Index'
WITH OPTIONS = {
'refresh_seconds' : '1',
'schema' : '{
fields : {
id : {type : "integer"},
user : {type : "string"},
body : {type : "text", analyzer : "english"},
time : {type : "date", pattern : "yyyy/MM/dd", sorted : true},
place : {type : "geo_point", latitude:"latitude", longitude:"longitude"}
}
}'
};
I get exception ServerError:
ErrorMessage code=0000 [Server error] message="java.lang.RuntimeEx
ception: java.lang.ClassNotFoundException:
com.stratio.cassandra.lucene.Index"
I also tried to build it using maven and update the installation , but no success. Also I copied the jar files to my JDK ext folder and tried again without any success.
Cheers, jereesh