1

我在 Solr 中设计了一个 SearchHandler,但我不知道为什么 Rank 和 Shards 不起作用。这是 的配置requestHandler

<requestHandler name="/contentsearch" class="solr.SearchHandler">
<lst name="defaults">
  <str name="shards">localhost:8983/solr/Wiki,localhost:8983/solr/iShare,localhost:8983/solr/GRA,localhost:8983/solr/ACF</str>
  <str name="echoParams">explicit</str>
  <str name="wt">json</str>
  <str name="indent">true</str>

  <str name="defType">edismax</str>
  <str name="qf">
    title^100.0 content^80.0 text^60.0
  </str>
  <str name="q">*:*</str>
  <str name="indent">true</str>
  <str name="rows">10</str>

  <!-- Facet settings -->
  <str name="facet">on</str>
  <str name="facet.field">content_type</str>
  <str name="facet.field">category</str>
  <str name="facet.field">author</str>
  <str name="facet.field">editor</str>
  <str name="facet.field">source_type</str>

  <str name="hl">on</str>
  <str name="hl.fl">title content</str>
</lst>    
<arr name="last-components">
  <str>elevator</str>
</arr></requestHandler> 

4 个核心模式是相同的。我错过了什么?

4

0 回答 0