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
Indexing 如何查找solr索引是否已损坏_Indexing_Solr - Fatal编程技术网

Indexing 如何查找solr索引是否已损坏

Indexing 如何查找solr索引是否已损坏,indexing,solr,Indexing,Solr,Solr中是否有api可以检查索引是否损坏?在我的项目中,我正在编写一个诊断工具来检查solr的索引运行状况,并想知道是否有用于此的api。有一个名为CheckIndex的Lucene工具,因为solr索引只是隐藏在引擎盖下的Lucene索引,您可以使用它来验证其完整性 关于如何使用它。在Solr中使用的当前Lucene版本中,您可以随时查看javadocs中的CheckIndex。谢谢您的回复。。。但我知道这个工具,我想要的是,如果solr或lucene中有任何api内置,在运行时检查solr

Solr中是否有api可以检查索引是否损坏?在我的项目中,我正在编写一个诊断工具来检查solr的索引运行状况,并想知道是否有用于此的api。

有一个名为CheckIndex的Lucene工具,因为solr索引只是隐藏在引擎盖下的Lucene索引,您可以使用它来验证其完整性


关于如何使用它。在Solr中使用的当前Lucene版本中,您可以随时查看javadocs中的CheckIndex。

谢谢您的回复。。。但我知道这个工具,我想要的是,如果solr或lucene中有任何api内置,在运行时检查solr的损坏。