我在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个核心模式是相同的。我错过了什么?