Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/solr/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
寻找Lucene索引版本_Lucene_Solr_Luke - Fatal编程技术网

寻找Lucene索引版本

寻找Lucene索引版本,lucene,solr,luke,Lucene,Solr,Luke,当我使用Luke V3.3.0时,它告诉我正在打开的Lucene索引是: 索引版本:13172b074a7 索引格式:-11(Lucene 3.1) 我使用的是Solr3.3,在索引之前我删除了我的文件夹/var/data/Solr/myrepository。我希望版本是Lucene 3.3。Lucene 3.1和Lucene 3.3之间没有指数变化?最后,我只想确保我的索引是使用Lucene 3.3创建的。任何获得Lucene索引版本的简单方法都是我想要的 此外,字段折叠也起作用,因此,如

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

  • 索引版本:13172b074a7
  • 索引格式:-11(Lucene 3.1)
我使用的是Solr3.3,在索引之前我删除了我的文件夹/var/data/Solr/myrepository。我希望版本是Lucene 3.3。Lucene 3.1和Lucene 3.3之间没有指数变化?最后,我只想确保我的索引是使用Lucene 3.3创建的。任何获得Lucene索引版本的简单方法都是我想要的

此外,字段折叠也起作用,因此,如果有索引更改,则我的索引版本是正确的。我在Solr管理页面上也没有看到这些信息


谢谢。

在solrconfig.xml中检查
LUCENE\u 33
设置您可以通过单击Solr管理页面顶部的[Info]链接查看正在使用的LUCENE版本。它将带您到
http:////admin/registry.jsp

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

我正在使用Solr3.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

实际上,从3.2到3.3时,我不必更改solrconfig.xml。这与您正在运行的版本无关。更多的是关于你希望它有什么样的行为。您基本上可以要求Lucene模仿旧版本的行为,即使有bug。这些信息是关于您正在运行的Solr/Lucene版本的。您的索引版本不一定相同。