Skip to content

Instantly share code, notes, and snippets.

@brobie
Created February 1, 2016 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brobie/811bd548850f7cac2ed7 to your computer and use it in GitHub Desktop.
Save brobie/811bd548850f7cac2ed7 to your computer and use it in GitHub Desktop.
Example Solr Config
<requestHandler name="magento_en" class="solr.SearchHandler">
<lst name="defaults">
<str name="qf">
fulltext_1_en^1.0 fulltext_2_en^2.0 fulltext_3_en^3.0 fulltext_4_en^4.0 fulltext_5_en^5.0
partial_sku^1.0 partial_name_en^1.0
</str>
<str name="pf">
fulltext_1_en^1.0 fulltext_2_en^2.0 fulltext_3_en^3.0 fulltext_4_en^4.0 fulltext_5_en^5.0
partial_sku^1.0 partial_name_en^1.0
</str>
<int name="ps">1</int>
<int name="qs">1</int>
<str name="mm">1</str>
<str name="defType">dismax</str>
<str name="echoParams">explicit</str>
<str name="spellcheck.onlyMorePopular">false</str>
<str name="spellcheck.extendedResults">false</str>
<str name="spellcheck.count">1</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
</arr>
</requestHandler>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment