寻找Lucene索引版本
当我使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以通过单击 Solr 管理页面顶部的 [Info] 链接来查看正在使用的 Lucene 版本。它将带您到
http:////admin/registry.jsp
Solr 和 Lucene 规范和实现版本列在 Solr 的顶部部分信息页面。
我正在使用 Solr 3.3,这就是我所看到的......
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...
检查 solrconfig.xml 中的
LUCENE_33
设置Check
<luceneMatchVersion>LUCENE_33</luceneMatchVersion>
setting in solrconfig.xml