Skip to content

Commit 61a0f91

Browse files
committed
Added edismaxplus handler
1 parent 0d02ed0 commit 61a0f91

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

solr/conf/solrconfig.xml

+15
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,21 @@
703703
not be initialized until the first request that uses it.
704704
705705
-->
706+
707+
<!-- Dismax OR handler with AND boost -->
708+
<requestHandler name="/edismaxplus" class="solr.SearchHandler">
709+
<lst name="defaults">
710+
<str name="rows">10</str>
711+
<str name="fl">*,score</str>
712+
<str name="echoParams">explicit</str>
713+
<str name="q">_query_:"{!edismax qf=$fields mm=$mymm v=$qwords bq=$boostForAll}"</str>
714+
<str name='mymm'>0%</str>
715+
<str name='boostForAll'>_query_:"{!edismax qf=$fields mm='100%' v=$qwords }"^5</str>
716+
</lst>
717+
</requestHandler>
718+
719+
720+
706721
<!-- SearchHandler
707722
708723
http://wiki.apache.org/solr/SearchHandler

0 commit comments

Comments
 (0)