SOLR-4793: Ref Guide: shorten the section heading & fix refs

This commit is contained in:
Cassandra Targett 2018-06-08 14:38:31 -05:00
parent 9b5dd15471
commit 4c7b7c0063
3 changed files with 7 additions and 5 deletions

View File

@ -560,7 +560,7 @@ NOTE: No `"features"` are configured in `myWrapperModel` because the features of
CAUTION: `<lib dir="/path/to/models" regex=".*\.json" />` doesn't work as expected in this case, because `SolrResourceLoader` considers given resources as JAR if `<lib />` indicates files.
As an alternative to the above-described `DefaultWrapperModel`, it is possible to <<setting-up-an-external-zookeeper-ensemble#increasing-zookeeper-s-1mb-file-size-limit,increase ZooKeeper's file size limit>>.
As an alternative to the above-described `DefaultWrapperModel`, it is possible to <<setting-up-an-external-zookeeper-ensemble#increasing-the-file-size-limit,increase ZooKeeper's file size limit>>.
=== Applying Changes

View File

@ -349,13 +349,13 @@ set ZK_HOST=zk1:2181,zk2:2181,zk3:2181/solr
Now you will not have to enter the connection string when starting Solr.
== Increasing ZooKeeper's 1MB File Size Limit
== Increasing the File Size Limit
ZooKeeper is designed to hold small files, on the order of kilobytes. By default, ZooKeeper's file size limit is 1MB. Attempting to write or read files larger than this will cause errors.
Some Solr features, e.g., text analysis synonyms, LTR, and OpenNLP named entity recognition, require configuration resources that can be larger than the default limit. ZooKeeper can be configured, via Java system property https://zookeeper.apache.org/doc/r{ivy-zookeeper-version}/zookeeperAdmin.html#Unsafe+Options[`jute.maxbuffer`], to increase this limit. Note that this configuration, which is required both for ZooKeeper server(s) and for all clients that connect to the server(s), must be the same everywhere it is specified.
=== Configuring jute.maxbuffer on ZooKeeper nodes
=== Configuring jute.maxbuffer on ZooKeeper Nodes
`jute.maxbuffer` must be configured on each external ZooKeeper node. This can be achieved in any of the following ways; note though that only the first option works on Windows:
@ -372,7 +372,7 @@ JVMFLAGS="$JVMFLAGS -Djute.maxbuffer=50000000"
[source,properties]
JVMFLAGS="$JVMFLAGS -Djute.maxbuffer=5000000"
=== Configuring jute.maxbuffer for ZooKeeper clients
=== Configuring jute.maxbuffer for ZooKeeper Clients
The `bin/solr` script invokes Java programs that act as ZooKeeper clients. When you use Solr's bundled ZooKeeper server instead of setting up an external ZooKeeper ensemble, the configuration described below will also configure the ZooKeeper server.
@ -415,7 +415,9 @@ REM -a option on start script, those options will be appended as well. Examples:
Add the following line to increase the file size limit to 2MB:
[source,bat]
----
set SOLR_OPTS=%SOLR_OPTS% -Djute.maxbuffer=0x200000
----
====
--

View File

@ -357,7 +357,7 @@ The {solr-javadocs}/solr-uima/index.html[`uima`] contrib provides::
The {solr-javadocs}/solr-analysis-extras/index.html[`analysis-extras`] contrib provides::
{solr-javadocs}/solr-analysis-extras/org/apache/solr/update/processor/OpenNLPExtractNamedEntitiesUpdateProcessorFactory.html[OpenNLPExtractNamedEntitiesUpdateProcessorFactory]::: Update document(s) to be indexed with named entities extracted using an OpenNLP NER model. Note that in order to use model files larger than 1MB on SolrCloud, <<setting-up-an-external-zookeeper-ensemble#increasing-zookeeper-s-1mb-file-size-limit,ZooKeeper server and client configuration is required>>.
{solr-javadocs}/solr-analysis-extras/org/apache/solr/update/processor/OpenNLPExtractNamedEntitiesUpdateProcessorFactory.html[OpenNLPExtractNamedEntitiesUpdateProcessorFactory]::: Update document(s) to be indexed with named entities extracted using an OpenNLP NER model. Note that in order to use model files larger than 1MB on SolrCloud, <<setting-up-an-external-zookeeper-ensemble#increasing-the-file-size-limit,ZooKeeper server and client configuration is required>>.
=== Update Processor Factories You Should _Not_ Modify or Remove