【发布时间】:2021-09-10 11:48:15
【问题描述】:
我有使用 lucene 5.1.0 创建的 FST 文件。
升级到 lucene 8.9.0 后,当我尝试从文件中读取 FST 时出现异常:
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource org.apache.lucene.store.InputStreamDataInput@34ce8af7): 4 (needs to be between 6 and 7). This version of Lucene only supports indexes created with release 6.0 and later.
有没有办法将旧的 FST 文件升级为新格式?
【问题讨论】: