Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by PeterWolanin: http://wiki.apache.org/solr/SpellCheckComponent ------------------------------------------------------------------------------ [[Anchor(onCommit)]] = Building on Commits = - SpellCheckComponent can be configured to automatically (re)build indices based on fields in Solr index when a commit is done. In order to do so you must enable this feature by adding the following line in your SpellCheckComponent configuration + SpellCheckComponent can be configured to automatically (re)build indices based on fields in Solr index when a commit is done. In order to do so you must enable this feature by adding the following line in your SpellCheckComponent configuration for each spellchecker where you wish it to apply {{{ <str name="buildOnCommit">true</str> + }}} + + For example: + {{{ + <lst name="spellchecker"> + <str name="name">default</str> + <str name="field">spell</str> + <str name="spellcheckIndexDir">./spellchecker1</str> + <str name="buildOnCommit">true</str> + </lst> }}} [[Anchor(onOptimize)]]
