Apache Lucene open-source search software
add dismax handler to config
Erik Hatchere61bc593d068
diff --git a/client/ruby/solrb/solr/solr/conf/solrconfig.xml b/client/ruby/solrb/solr/solr/conf/solrconfig.xmlindex ac3416b4c4e..ac04c24a9d9 100755--- a/client/ruby/solrb/solr/solr/conf/solrconfig.xml+++ b/client/ruby/solrb/solr/solr/conf/solrconfig.xml@@ -116,9 +116,9 @@--><filterCacheclass="solr.LRUCache"- size="512"- initialSize="512"- autowarmCount="256"/>+ size="200000"+ initialSize="100000"+ autowarmCount="50000"/><!-- queryResultCache caches results of searches - ordered lists ofdocument ids (DocList) based on a query, a sort, and the range@@ -236,6 +236,30 @@--></lst></requestHandler>++ <!-- DisMaxRequestHandler allows easy searching across multiple fields+ for simple user-entered phrases.+ see http://wiki.apache.org/solr/DisMaxRequestHandler+ -->+ <requestHandler name="dismax" class="solr.DisMaxRequestHandler" >+ <lst name="defaults">+ <str name="echoParams">explicit</str>+ <float name="tie">0.01</float>+ <str name="qf">+ text^1.9+ </str>+ <str name="pf">+ text^1.9+ </str>+ <str name="fl">+ id, text+ </str>+ <str name="mm">+ 2<-1 5<-2 6<90%+ </str>+ <int name="ps">100</int>+ </lst>+ </requestHandler><!-- queryResponseWriter plugins... query responses will be written using thewriter specified by the 'wt' request parameter matching the name of a registered