Luke 4.6.1 FormatTooNew error?

2019-02-17 06:40发布

问题:

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.

回答1:

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/.



标签: lucene luke