mirror of https://github.com/apache/lucene.git
SOLR-5499: Added a warning note in example solrconfig.xml against removing realtime get handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546776 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
655a12466f
commit
c3cbded1b1
|
@ -872,7 +872,15 @@
|
||||||
|
|
||||||
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
<!-- realtime get handler, guaranteed to return the latest stored fields of
|
||||||
any document, without the need to commit or open a new searcher. The
|
any document, without the need to commit or open a new searcher. The
|
||||||
current implementation relies on the updateLog feature being enabled. -->
|
current implementation relies on the updateLog feature being enabled.
|
||||||
|
|
||||||
|
** WARNING **
|
||||||
|
Do NOT disable the realtime get handler at /get if you are using
|
||||||
|
SolrCloud otherwise any leader election will cause a full sync in ALL
|
||||||
|
replicas for the shard in question. Similarly, a replica recovery will
|
||||||
|
also always fetch the complete index from the leader because a partial
|
||||||
|
sync will not be possible in the absence of this handler.
|
||||||
|
-->
|
||||||
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
<requestHandler name="/get" class="solr.RealTimeGetHandler">
|
||||||
<lst name="defaults">
|
<lst name="defaults">
|
||||||
<str name="omitHeader">true</str>
|
<str name="omitHeader">true</str>
|
||||||
|
|
Loading…
Reference in New Issue