Hi all,
I am attempting to run Semantic Vectors with the following specs:
Semantic Vectors v 5.6
Apache solr v 5.0.0
Lucene Index v 4.10.0
I would like to build an index to begin. When I try to build the index with the following commands I get the following error:
Commands:
"-docindexing", "incremental"
-contentsfields", "textproperty",
"-docidfield", "id",
"-termvectorsfile", vectorStoreLocStr + "/termvectorsreg.bin",
"-docvectorsfile", vectorStoreLocStr + "/docvectorsreg.bin",
"-luceneindexpath" , luceneDir };
luceneDir is a directory created with a solr index, match version 4.10
Caused by: org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource: BufferedChecksumIndexInput(MMapIndexInput(path="C:\Users\tim\workspace\solrWorkspace\solr-5.0.0\server\solr\collection1\data\index\segments_2"))): 4 (needs to be between 0 and 3)
at org.apache.lucene.codecs.CodecUtil.checkHeaderNoMagic(CodecUtil.java:156)
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:351)
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:57)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:913)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:53)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:67)
at pitt.search.semanticvectors.LuceneUtils.<init>(LuceneUtils.java:108)
Can anyone help?