| <?xml version="1.0" encoding="UTF-8" ?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- |
| All (relative) paths are relative to the installation path |
| --> |
| <solr> |
| |
| <metrics enabled="${metricsEnabled:true}"/> |
| |
| <str name="shareSchema">${shareSchema:false}</str> |
| <str name="configSetBaseDir">${configSetBaseDir:configsets}</str> |
| <str name="coreRootDirectory">${coreRootDirectory:.}</str> |
| <str name="allowPaths">${solr.allowPaths:}</str> |
| |
| <shardHandlerFactory name="shardHandlerFactory" class="HttpShardHandlerFactory"> |
| <str name="urlScheme">${urlScheme:}</str> |
| <int name="socketTimeout">${socketTimeout:15000}</int> |
| <int name="connTimeout">${connTimeout:15000}</int> |
| <str name="shardsWhitelist">${solr.tests.shardsWhitelist:}</str> |
| </shardHandlerFactory> |
| |
| <transientCoreCacheFactory name="transientCoreCacheFactory" class="TransientSolrCoreCacheFactoryDefault"> |
| <int name="transientCacheSize">4</int> |
| </transientCoreCacheFactory> |
| |
| |
| <solrcloud> |
| <str name="host">127.0.0.1</str> |
| <int name="hostPort">${hostPort:8983}</int> |
| <str name="hostContext">${hostContext:solr}</str> |
| <int name="zkClientTimeout">${solr.zkclienttimeout:60000}</int> <!-- This should be high by default - dc's are expensive --> |
| <bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool> |
| <int name="leaderVoteWait">${leaderVoteWait:15000}</int> <!-- We are running tests - the default should be low, not like production --> |
| <int name="leaderConflictResolveWait">${leaderConflictResolveWait:45000}</int> |
| <int name="distribUpdateConnTimeout">${distribUpdateConnTimeout:5000}</int> |
| <int name="distribUpdateSoTimeout">${distribUpdateSoTimeout:30000}</int> <!-- We are running tests - the default should be low, not like production --> |
| <int name="autoReplicaFailoverWaitAfterExpiration">${autoReplicaFailoverWaitAfterExpiration:10000}</int> |
| <int name="autoReplicaFailoverWorkLoopDelay">${autoReplicaFailoverWorkLoopDelay:10000}</int> |
| <int name="autoReplicaFailoverBadNodeExpiration">${autoReplicaFailoverBadNodeExpiration:60000}</int> |
| </solrcloud> |
| |
| </solr> |