Created
June 25, 2010 21:35
-
-
Save hampelm/453487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<requestHandler name="dismax" class="solr.SearchHandler" > | |
<lst name="defaults"> | |
<str name="defType">dismax</str> | |
<str name="echoParams">explicit</str> | |
<float name="tie">0.01</float> | |
<str name="qf"> | |
text features name description id | |
</str> | |
<str name="fl"> | |
id,name,price,score,description | |
</str> | |
<int name="ps">100</int> | |
<str name="q.alt">*:*</str> | |
<!-- example highlighter config, enable per-query with hl=true --> | |
<str name="hl.fl">text features name</str> | |
<!-- for this field, we want no fragmenting, just highlighting --> | |
<str name="f.name.hl.fragsize">0</str> | |
<!-- instructs Solr to return the field itself if no query terms are | |
found --> | |
<str name="f.name.hl.alternateField">name</str> | |
<str name="f.text.hl.fragmenter">regex</str> <!-- defined below --> | |
</lst> | |
</requestHandler> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment