Reputation: 1211
How should I configure solrconfig.xml
for connecting DisMax plugin? I need it to use full-text search.
Upvotes: 0
Views: 259
Reputation: 4128
Here is an example search handler which specifies DisMax as its search handler:
<requestHandler name="/simpleQuery" class="solr.SearchHandler">
<lst name="defaults">
<str name="defType">edismax</str> <!-- this is how you specify DisMax -->
<str name="qf">Title^2 Body</str> <!-- The fields (and their weightings) to search in.-->
<str name="rows">500</str>
<str name="echoParams">all</str>
</lst>
</requestHandler>
Upvotes: 2