11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

${host:}<br />

${jetty.port:8983}<br />

${hostContext:solr}<br />

${zkClientTimeout:15000}<br />

${genericCoreNodeNames:true}<br />

<br />

<br />

${socketTimeout:0}<br />

${connTimeout:0}<br />

<br />

<br />

As you can see, the discovery <strong>Solr</strong> configuration is "<strong>Solr</strong>Cloud friendly". However, the presence of the element does not mean that the <strong>Solr</strong> instance is running in <strong>Solr</strong>Cloud mode. Unless the -DzkHost or -Dzk<br />

Run are specified at startup time, this section is ignored.<br />

<strong>Solr</strong>.xml Parameters<br />

The Element<br />

There are no attributes that you can specify in the tag, which is the root element of solr.xml. The<br />

tables below list the child nodes of each XML element in solr.xml.<br />

Node<br />

adminHandler<br />

collectionsHandler<br />

Description<br />

If used, this attribute should be set to the FQN (Fully qualified name) of a class that<br />

inherits from CoreAdminHandler. For example,<br />

adminHandler="com.myorg.MyAdminHandler" would configure the custom admin<br />

handler (MyAdminHandler) to handle admin requests. If this attribute isn't set, <strong>Solr</strong><br />

uses the default admin handler, org.apache.solr.handler.admin.CoreAdminHandler.<br />

For more information on this parameter, see the <strong>Solr</strong> Wiki at http://wiki.apache.org/<br />

solr/CoreAdmin#cores.<br />

As above, for custom CollectionsHandler implementations.<br />

infoHandler<br />

As above, for custom InfoHandler implementations.<br />

coreLoadThreads<br />

coreRootDirectory<br />

managementPath<br />

sharedLib<br />

Specifies the number of threads that will be assigned to load cores in parallel.<br />

The root of the core discovery tree, defaults to SOLR_HOME.<br />

Currently non-operational.<br />

Specifies the path to a common library directory that will be shared across all cores.<br />

Any JAR files in this directory will be added to the search path for <strong>Solr</strong> plugins. This<br />

path is relative to the top-level container's <strong>Solr</strong> Home.<br />

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

468

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

Saved successfully!

Ooh no, something went wrong!