All of the required configuration is already set up in the sample configurations shipped with Solr. You only need to add the following if you are migrating old configuration files. Do not remove these files and parameters from a new Solr instance if you intend to use Solr in SolrCloud mode.
These properties exist in 3 files:
schema.xml, you must have a
_version_ field defined:
solrconfig.xml, you must have an
UpdateLog defined. This should be defined in the
3. The DistributedUpdateProcessor is part of the default update chain and is automatically injected into any of your custom update chains, so you don't actually need to make any changes for this capability. However, should you wish to add it explicitly, you can still add it to the
solrconfig.xml file as part of an
updateRequestProcessorChain. For example:
If you do not want the DistributedUpdateProcessFactory auto-injected into your chain (for example, if you want to use SolrCloud functionality, but you want to distribute updates yourself) then specify the
NoOpDistributingUpdateProcessorFactory update processor factory in your chain:
In the update process, Solr skips updating processors that have already been run on other nodes.