Using Calvin 2.1.0 with Elastic Search 2.4.1 - Stucked with Lucene version mismatch.

21 views
Skip to first unread message

karthiga sivaraman

unread,
Nov 18, 2016, 1:33:29 AM11/18/16
to clavin-users
Hi All,

Actually im using Calvin 2.1.0 with Elastic Search 2.4.1 - to identify the location (if any ) in my input and indexed the o/p into Elastic Seatch 2.4.1.

Previously im using ES 1.5.2 whose version suits wiith clavin 2.0.0 . Now v are planning to update ES version to 2.4.1 .

In this situation i'm getting the below err0r due to lucene version mistach between calvina and ES. Help me to fix the same.

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/io/File;)Lorg/apache/lucene/store/FSDirectory;
    at com.bericotech.clavin.gazetteer.query.LuceneGazetteer.<init>(LuceneGazetteer.java:137)
    at com.bericotech.clavin.GeoParserFactory.getDefault(GeoParserFactory.java:121)
    at com.bericotech.clavin.GeoParserFactory.getDefault(GeoParserFactory.java:99)
    at com.bericotech.clavin.GeoParserFactory.getDefault(GeoParserFactory.java:54)
    at org.Clavin_API.App.findLocations(App.java:26)
    at com.bt.product.infoactiv.ie.thread.Text2rdfDataHelperv3.processFindLocationInfo(Text2rdfDataHelperv3.java:297)
    at com.bt.product.infoactiv.ie.thread.Text2rdfMultiThreadv3.GenericRdf3(Text2rdfMultiThreadv3.java:273)
    at com.bt.product.infoactiv.client.sph.SPHMain.getrdfdata(SPHMain.java:164)
    at com.bt.product.infoactiv.client.sph.SPHMain.main(SPHMain.java:265)

Regards
S.Karthiga
Reply all
Reply to author
Forward
0 new messages