add dismax handler to config

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505110 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-02-09 01:04:06 +00:00
parent cd44713a89
commit e61bc593d0
1 changed files with 27 additions and 3 deletions

View File

@ -116,9 +116,9 @@
-->
<filterCache
class="solr.LRUCache"
size="512"
initialSize="512"
autowarmCount="256"/>
size="200000"
initialSize="100000"
autowarmCount="50000"/>
<!-- queryResultCache caches results of searches - ordered lists of
document 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&lt;-1 5&lt;-2 6&lt;90%
</str>
<int name="ps">100</int>
</lst>
</requestHandler>
<!-- queryResponseWriter plugins... query responses will be written using the
writer specified by the 'wt' request parameter matching the name of a registered