Created
August 25, 2015 10:40
-
-
Save Adyg/2dc5037047e87d8a2edf to your computer and use it in GitHub Desktop.
This file contains 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
<searchComponent name="spellcheck" class="solr.SpellCheckComponent"> | |
<str name="queryAnalyzerFieldType">text_general</str> | |
<lst name="spellchecker"> | |
<str name="name">default</str> | |
<str name="field">text</str> | |
<str name="classname">solr.DirectSolrSpellChecker</str> | |
<str name="distanceMeasure">internal</str> | |
<float name="accuracy">0.5</float> | |
<int name="maxEdits">2</int> | |
<int name="minPrefix">1</int> | |
<int name="maxInspections">5</int> | |
<int name="minQueryLength">4</int> | |
<float name="maxQueryFrequency">0.01</float> | |
</lst> | |
<lst name="spellchecker"> | |
<str name="name">wordbreak</str> | |
<str name="classname">solr.WordBreakSolrSpellChecker</str> | |
<str name="field">name</str> | |
<str name="combineWords">true</str> | |
<str name="breakWords">true</str> | |
<int name="maxChanges">10</int> | |
</lst> | |
</searchComponent> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment