|
23 | 23 |
|
24 | 24 | More information about options available in this configuration file,
|
25 | 25 | and Solr Core administration can be found online:
|
26 |
| - https://lucene.apache.org/solr/guide/format-of-solr-xml.html |
| 26 | + https://solr.apache.org/guide/solr/latest/configuration-guide/configuring-solr-xml.html |
27 | 27 | -->
|
28 | 28 |
|
29 | 29 | <solr>
|
30 | 30 |
|
31 | 31 | <int name="maxBooleanClauses">${solr.max.booleanClauses:1024}</int>
|
32 | 32 | <str name="sharedLib">${solr.sharedLib:}</str>
|
| 33 | + <str name="modules">${solr.modules:}</str> |
33 | 34 | <str name="allowPaths">${solr.allowPaths:}</str>
|
| 35 | + <str name="allowUrls">${solr.allowUrls:}</str> |
| 36 | + <str name="hideStackTrace">${solr.hideStackTrace:false}</str> |
34 | 37 |
|
35 | 38 | <solrcloud>
|
36 | 39 |
|
37 | 40 | <str name="host">${host:}</str>
|
38 | 41 | <int name="hostPort">${solr.port.advertise:0}</int>
|
39 |
| - <str name="hostContext">${hostContext:solr}</str> |
40 | 42 |
|
41 | 43 | <bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>
|
42 | 44 |
|
|
45 | 47 | <int name="distribUpdateConnTimeout">${distribUpdateConnTimeout:60000}</int>
|
46 | 48 | <str name="zkCredentialsProvider">${zkCredentialsProvider:org.apache.solr.common.cloud.DefaultZkCredentialsProvider}</str>
|
47 | 49 | <str name="zkACLProvider">${zkACLProvider:org.apache.solr.common.cloud.DefaultZkACLProvider}</str>
|
| 50 | + <str name="zkCredentialsInjector">${zkCredentialsInjector:org.apache.solr.common.cloud.DefaultZkCredentialsInjector}</str> |
| 51 | + <bool name="distributedClusterStateUpdates">${distributedClusterStateUpdates:false}</bool> |
| 52 | + <bool name="distributedCollectionConfigSetExecution">${distributedCollectionConfigSetExecution:false}</bool> |
| 53 | + <int name="minStateByteLenForCompression">${minStateByteLenForCompression:-1}</int> |
| 54 | + <str name="stateCompressor">${stateCompressor:org.apache.solr.common.util.ZLibCompressor}</str> |
48 | 55 |
|
49 | 56 | </solrcloud>
|
50 | 57 |
|
51 | 58 | <shardHandlerFactory name="shardHandlerFactory"
|
52 | 59 | class="HttpShardHandlerFactory">
|
53 | 60 | <int name="socketTimeout">${socketTimeout:600000}</int>
|
54 | 61 | <int name="connTimeout">${connTimeout:60000}</int>
|
55 |
| - <str name="shardsWhitelist">${solr.shardsWhitelist:}</str> |
56 | 62 | </shardHandlerFactory>
|
57 | 63 |
|
58 |
| - <metrics enabled="${metricsEnabled:true}"/> |
| 64 | + <metrics enabled="${metricsEnabled:true}"> |
| 65 | + <!-- Solr computes JVM metrics for threads. Computing these metrics, esp. computing deadlocks etc., |
| 66 | + requires potentially expensive computations, and can be avoided for every metrics call by |
| 67 | + setting a high caching expiration interval (in seconds). |
| 68 | + <caching> |
| 69 | + <int name="threadsIntervalSeconds">5</int> |
| 70 | + </caching> |
| 71 | + --> |
| 72 | + <!--reporter name="jmx_metrics" group="core" class="org.apache.solr.metrics.reporters.SolrJmxReporter"/--> |
| 73 | + </metrics> |
| 74 | + |
59 | 75 |
|
60 | 76 | </solr>
|
0 commit comments