Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Luke 4.6.1 FormatTooNew error?

Tags:

lucene

luke

So I'm trying to use Luke for the first time and I'm having some trouble. I point it to the directory I want, but see this:

org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource: SimpleFSIndexInput(path="C:\Users*me*\Chat Data\chat-data\index\segments.gen")): -3 (needs to be between -2 and -2)

Does anyone know how to fix this? Is it a compatibility issue? I'm lost.

like image 833
Kmanc Avatar asked Jun 11 '14 22:06

Kmanc


1 Answers

Looks like you are using a version of Luke which is too old for your index.

You can get a newer version from https://github.com/DmitryKey/luke/releases/.

like image 89
mindas Avatar answered Oct 15 '22 19:10

mindas