solr查询在solrconfig.xml中的配置

  <requestHandler name="/select" class="solr.SearchHandler">
       <lst name="defaults">
            <str name="echoParams">explicit</str>
            <str name="defType">edismax</str>
            <str name="q.alt">*:*</str>
            <str name="rows">10</str>
            <str name="fl">name,content</str>
            <str name="qf">
                    name^11.0 content^5.0  testik^5.0
            </str>
       </lst>
  </requestHandler>

 

posted @ 2014-10-16 17:32  勿妄  阅读(248)  评论(0编辑  收藏  举报