mirror of https://github.com/apache/lucene.git
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:
parent
cd44713a89
commit
e61bc593d0
|
@ -116,9 +116,9 @@
|
||||||
-->
|
-->
|
||||||
<filterCache
|
<filterCache
|
||||||
class="solr.LRUCache"
|
class="solr.LRUCache"
|
||||||
size="512"
|
size="200000"
|
||||||
initialSize="512"
|
initialSize="100000"
|
||||||
autowarmCount="256"/>
|
autowarmCount="50000"/>
|
||||||
|
|
||||||
<!-- queryResultCache caches results of searches - ordered lists of
|
<!-- queryResultCache caches results of searches - ordered lists of
|
||||||
document ids (DocList) based on a query, a sort, and the range
|
document ids (DocList) based on a query, a sort, and the range
|
||||||
|
@ -237,6 +237,30 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</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 the
|
<!-- queryResponseWriter plugins... query responses will be written using the
|
||||||
writer specified by the 'wt' request parameter matching the name of a registered
|
writer specified by the 'wt' request parameter matching the name of a registered
|
||||||
writer.
|
writer.
|
||||||
|
|
Loading…
Reference in New Issue