寻找Lucene索引版本

发布于 2024-11-30 13:27:43 字数 371 浏览 5 评论 0原文

当我使用 Luke V3.3.0 时,它告诉我要打开的 Lucene 索引是:

  • 索引版本:13172b074a7
  • 索引格式:-11 (Lucene 3.1)

我正在使用 Solr 3.3,我之前删除了我的文件夹 /var/data/索引之前的 solr/myrepository。我预计版本是 Lucene 3.3。 Lucene 3.1 和 Lucene 3.3 之间没有索引变化吗?归根结底,我只想确保我的索引是使用 Lucene 3.3 创建的。我正在寻找任何获得 Lucene 索引版本的简单方法。

字段折叠也有效,因此,如果索引发生更改,我的索引版本是正确的。我也没有从 Solr 管理页面看到此信息。

谢谢。

When I use Luke V3.3.0, it tells me that the Lucene index that I am opening is:

  • Index version: 13172b074a7
  • Index format: -11 (Lucene 3.1)

I am using Solr 3.3, I removed previously my folder /var/data/solr/myrepository before indexing. I would expect the version to be Lucene 3.3. There is no index change between Lucene 3.1 and Lucene 3.3 ? At the end of the day, I just want to make sure that my index was created using Lucene 3.3. Any easy way to get the Lucene index version is what I am looking for.

Also field collapsing works so, if there's an index change, my index version is correct. I don't see this info either from the Solr admin page.

Thank you.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

A君 2024-12-07 13:27:43

您可以通过单击 Solr 管理页面顶部的 [Info] 链接来查看正在使用的 Lucene 版本。它将带您到 http:////admin/registry.jsp

Solr 和 Lucene 规范和实现版本列在 Solr 的顶部部分信息页面。

我正在使用 Solr 3.3,这就是我所看到的......

Solr Specification Version: 3.3.0
Solr Implementation Version: 3.3.0 1139785 - rmuir - 2011-06-26 09:25:01
Lucene Specification Version: 3.3.0
Lucene Implementation Version: 3.3.0 1139782 - 2011-06-26 09:27:19
Current Time: Tue Aug 23 08:35:27 EDT 2011
Server Start Time:Mon Aug 22 14:32:28 EDT 2011

You can see the Lucene version being used by clicking on the [Info] link on the top of the Solr Admin page. It will take you to http://<yourserver:port>/<instancename>/admin/registry.jsp

The Solr and Lucene Specification and Implementation versions are listed in the top section of the Solr Info page.

I am using Solr 3.3 and this is what I see...

Solr Specification Version: 3.3.0
Solr Implementation Version: 3.3.0 1139785 - rmuir - 2011-06-26 09:25:01
Lucene Specification Version: 3.3.0
Lucene Implementation Version: 3.3.0 1139782 - 2011-06-26 09:27:19
Current Time: Tue Aug 23 08:35:27 EDT 2011
Server Start Time:Mon Aug 22 14:32:28 EDT 2011
夏九 2024-12-07 13:27:43

检查 solrconfig.xml 中的 LUCENE_33 设置

Check <luceneMatchVersion>LUCENE_33</luceneMatchVersion> setting in solrconfig.xml

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文