Skip to content

Commit b611e47

Browse files
committed
Remove Spell Check auto-build in SOLR 5. 3 days of debug for two lines of code, make RZ sleep again.
1 parent e3a2b4a commit b611e47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

solr/configsets/sunspot/conf/solrconfig.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
size="512"
255255
initialSize="512"
256256
autowarmCount="0"/>
257-
257+
258258
<!-- Document Cache
259259
260260
Caches Lucene Document objects (the stored fields for each
@@ -589,13 +589,13 @@
589589
<!-- change field to textSpell and use copyField in schema.xml
590590
to spellcheck multiple fields -->
591591
<str name="field">textSpell</str>
592-
<str name="buildOnCommit">true</str>
592+
<str name="buildOnCommit">false</str>
593593
</lst>
594594

595595
<lst name="spellchecker">
596596
<str name="name">example</str>
597597
<str name="field">title_text</str>
598-
<str name="buildOnCommit">true</str>
598+
<str name="buildOnCommit">false</str>
599599
<str name="classname">solr.DirectSolrSpellChecker</str>
600600
<!-- the spellcheck distance measure used, the default is the internal levenshtein -->
601601
<str name="distanceMeasure">internal</str>

0 commit comments

Comments
 (0)