11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

shareSchema<br />

transientCacheSize<br />

configSetBaseDir<br />

This attribute, when set to true, ensures that the multiple cores pointing to the same<br />

Schema resource file will be referring to the same IndexSchema Object. Sharing<br />

the IndexSchema Object makes loading the core faster. If you use this feature,<br />

make sure that no core-specific property is used in your Schema file.<br />

Defines how many cores with transient=true that can be loaded before swapping<br />

the least recently used core for a new core.<br />

The directory under which configsets for solr cores can be found. Defaults to<br />

SOLR_HOME/configsets<br />

The element<br />

This element defines several parameters that relate so <strong>Solr</strong>Cloud. This section is ignored unless the solr<br />

instance is started with either -DzkRun or -DzkHost<br />

Node<br />

distribUpdateConnTimeout<br />

distribUpdateSoTimeout<br />

host<br />

hostContext<br />

Description<br />

Used to set the underlying "connTimeout" for intra-cluster updates.<br />

Used to set the underlying "socketTimeout" for intra-cluster updates.<br />

The hostname <strong>Solr</strong> uses to access cores.<br />

The url context path.<br />

hostPort The port <strong>Solr</strong> uses to access cores. In the default solr.xml file, this is<br />

set to ${jetty.port:8983}, which will use the <strong>Solr</strong> port defined in<br />

Jetty, and otherwise fall back to 8983.<br />

leaderVoteWait<br />

leaderConflictResolveWait<br />

zkClientTimeout<br />

zkHost<br />

When <strong>Solr</strong>Cloud is starting up, how long each <strong>Solr</strong> node will wait for all<br />

known replicas for that shard to be found before assuming that any nodes<br />

that haven't reported are down.<br />

When trying to elect a leader for a shard, this property sets the maximum<br />

time a replica will wait to see conflicting state information to be resolved;<br />

temporary conflicts in state information can occur when doing rolling<br />

restarts, especially when the node hosting the Overseer is restarted.<br />

Typically, the default value of 180000 (ms) is sufficient for conflicts to be<br />

resolved; you may need to increase this value if you have hundreds or<br />

thousands of small collections in <strong>Solr</strong>Cloud.<br />

A timeout for connection to a ZooKeeper server. It is used with <strong>Solr</strong>Cloud.<br />

In <strong>Solr</strong>Cloud mode, the URL of the ZooKeeper host that <strong>Solr</strong> should use<br />

for cluster state information.<br />

genericCoreNodeNames If TRUE, node names are not based on the address of the node, but on a<br />

generic name that identifies the core. When a different machine takes<br />

over serving that core things will be much easier to understand.<br />

zkCredentialsProvider &<br />

zkACLProvider<br />

Optional parameters that can be specified if you are using ZooKeeper<br />

Access Control.<br />

The element<br />

Node<br />

Description<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

469

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!