You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.lang.IllegalArgumentException: indexCreatedVersionMajor is in the future: 9
at org.apache.lucene.index.SegmentInfos.<init>(SegmentInfos.java:169)
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:327)
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:291)
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:64)
at org.apache.lucene.index.StandardDirectoryReader$1.doBody(StandardDirectoryReader.java:61)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:720)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:84)
at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:64)
at io.osirrc.ciff.lucene.ExportAnseriniLuceneIndex.main(ExportAnseriniLuceneIndex.java:136)
Suppressed: org.apache.lucene.index.CorruptIndexException: checksum passed (b2b4eb97). possibly transient resource issue, or a Lucene or JVM bug (resource=BufferedChecksumIndexInput(MMapIndexInput(path="/home/jupyter/neural-ranking/splade/experiments/cocondenser_kldiv_distil_01-05_190239/out/anserini_index/segments_2")))
at org.apache.lucene.codecs.CodecUtil.checkFooter(CodecUtil.java:466)
at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:434)
... 7 more
Can you help me to solve the error? If you need more information don't hesitate to let me know. Thanks so much!
The text was updated successfully, but these errors were encountered:
I think the problem is that the Lucene index version is ahead of the CIFF version.
You could try to modify the pom.xml file on line 29: <lucene.version>8.11.0</lucene.version> to the version you used for the index export (refer to the pom.xml file in the Anserini directory; it's probably 9.* based on the error).
We may need to keep updating this ciff tool to stay abreast of the Lucene changes; if this change does help, please feel free to submit a PR.
I use the following command to get Anserini index
and
to export the index from Anserini to Ciff
But I get the error:
Can you help me to solve the error? If you need more information don't hesitate to let me know. Thanks so much!
The text was updated successfully, but these errors were encountered: