Hi,
i created an index with HS 3.2. (core 3.5.) with the massindexer. The application i use the index in, uses HS 3.0.1 (core 3.2.6), and its not possible to change that. Now the index created with 3.2. isnt working with 3.0.1, it throws the exception:
Code:
org.hibernate.search.SearchException: Unable to read current status of Lucene IndexReader
...
Caused by: org.apache.lucene.index.CorruptIndexException: Unknown format version: -9
at org.apache.lucene.index.SegmentInfos$2.doBody(SegmentInfos.java:360)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:636)
at org.apache.lucene.index.SegmentInfos.readCurrentVersion(SegmentInfos.java:349)
at org.apache.lucene.index.DirectoryIndexReader.isCurrent(DirectoryIndexReader.java:150)
at org.hibernate.search.reader.SharedReaderProvider.openReader(SharedReaderProvider.java:83)
... 17 more
is it possible to generate an index with HS 3.5. and use it with HS 3.0.1 at all?
(i remember that i've seen some constants in a code like "Lucene.Version_XX", but i don't remember where i've seen that)