1

我正在尝试用卢克检查 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 索引中使用过卢克?

4

1 回答 1

1

据我所知,目前不可能与卢克本身有关......

LukeRequestHandler但是,如果您在 DSE 搜索中启用,您可以检查索引solrconfig.xml,就像这样

<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />

之后,您将能够通过访问 Solr Web 界面查看索引内部:

http://<server-ip>:8983/solr/<keyspace.table>/admin/luke

PS 有关其使用的更多信息,请参阅DSE 支持文章

于 2018-04-19T10:42:56.377 回答