【问题标题】:luke with datastax solr卢克与 datastax solr
【发布时间】:2018-09-25 02:16:23
【问题描述】:

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

【问题讨论】:

    标签: solr datastax datastax-enterprise luke


    【解决方案1】:

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

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

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

    之后,您就可以通过访问 Solr 网络界面查看索引内部:

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

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

    【讨论】:

      猜你喜欢
      • 2016-11-25
      • 2011-06-28
      • 2013-12-20
      • 1970-01-01
      • 2012-09-10
      • 2014-08-05
      • 2016-11-23
      • 1970-01-01
      • 2013-02-23
      相关资源
      最近更新 更多