我正在尝试使用luke检查DSE中的solr索引。但是得到了下面的错误。
Invalid directory at the location,
check console for more information. Last exception:
java.lang.IllegalArgumentException:
An SPI class of type org.apache.lucene.codecs.Codec with name
'dse460' does not exist.
You need to add the corresponding JAR file supporting this SPI
to your classpath.
The current classpath supports the following names:
[Lucene40, Lucene3x, Lucene41, Lucene42, Lucene45,
Lucene46, Lucene49, Lucene410, SimpleText, Appending]有人使用过带有datastax solr索引的luke吗?
发布于 2018-04-19 18:42:56
据我所知,目前用luke本身是不可能的。
但是,如果您在DSE Search的solrconfig.xml中启用了LukeRequestHandler,就可以检查索引,如下所示
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />之后,您将能够通过访问Solr web界面来查看索引内部:
http://<server-ip>:8983/solr/<keyspace.table>/admin/luke附注:有关其用法的更多信息,请参阅DSE Support article。
https://stackoverflow.com/questions/49838701
复制相似问题