首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >luke with datastax solr

luke with datastax solr
EN

Stack Overflow用户
提问于 2018-04-15 13:12:42
回答 1查看 70关注 0票数 1

我正在尝试使用luke检查DSE中的solr索引。但是得到了下面的错误。

代码语言:javascript
复制
    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吗?

EN

回答 1

Stack Overflow用户

发布于 2018-04-19 18:42:56

据我所知,目前用luke本身是不可能的。

但是,如果您在DSE Search的solrconfig.xml中启用了LukeRequestHandler,就可以检查索引,如下所示

代码语言:javascript
复制
<requestHandler name="/admin/luke" class="solr.admin.LukeRequestHandler" />

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

代码语言:javascript
复制
http://<server-ip>:8983/solr/<keyspace.table>/admin/luke

附注:有关其用法的更多信息,请参阅DSE Support article

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49838701

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档