[hibernate-dev] A few questions about Search 5.5.0
Gustavo Fernandes
gustavo at infinispan.org
Sat Sep 19 04:11:55 EDT 2015
On Thu, Sep 17, 2015 at 8:43 PM, Guillaume Smet <guillaume.smet at gmail.com>
wrote:
> Hi,
>
> I upgraded our framework to 5.5.0 and I have a few questions about it.
>
> ==
> First, I had to remove the existing indexes otherwise I had exceptions
> about version of the index. Is this expected? As far as I remember, it's
> been a long time since we had to remove the indexes after an upgrade.
>
> Caused by: org.apache.lucene.index.IndexFormatTooOldException: Format
> version is not supported (resource
>
> BufferedChecksumIndexInput(MMapIndexInput(path="/data/services/test/data/helios/lucene/fr.openwide.helios.core.business.ticket.model.MessageFile/segments_1"))):
> -11 (needs to be between 1071082519 and 1071082519). This version of
> Lucene only supports indexes created with release 4.0 and later.
>
> Maybe it should be integrated in the blog post that one might need to
> clean up indexes if they come from before the switch to Lucene 4?
>
>
It should be possible to read Lucene 4 indexes from Lucene 5, but you need
to add the codec in your classpath [1]
Could you give a try and let us know if it works for you?
[1]
http://repo1.maven.org/maven2/org/apache/lucene/lucene-backward-codecs/5.3.0/
Cheers,
Gustavo
More information about the hibernate-dev
mailing list