Luke 4.6.1 FormatTooNew 错误? [英] Luke 4.6.1 FormatTooNew error?
问题描述
所以我第一次尝试使用 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:不支持格式版本(资源:SimpleFSIndexInput(path="C:Users*me*Chat Datachat-dataindexsegments.gen")):-3(需要在-2和-2之间)
org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource: SimpleFSIndexInput(path="C:Users*me*Chat Datachat-dataindexsegments.gen")): -3 (needs to be between -2 and -2)
有谁知道如何解决这个问题?是兼容性问题吗?我迷路了.
Does anyone know how to fix this? Is it a compatibility issue? I'm lost.
推荐答案
看起来您使用的 Luke 版本对于您的索引来说太旧了.
Looks like you are using a version of Luke which is too old for your index.
您可以从 https://github.com/DmitryKey/luke/releases/ 获取更新版本.
You can get a newer version from https://github.com/DmitryKey/luke/releases/.
这篇关于Luke 4.6.1 FormatTooNew 错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!