12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!--
- IBM Confidential
- OCO Source Materials
- IBM Business Platform: Search
- (C) Copyright IBM Corp. 2017, 2022
- The source code for this program is not published or otherwise divested of its trade secrets,
- irrespective of what has been deposited with the U.S. Copyright Office.
- -->
- <!--
- This is an example of a simple "solr.xml" file for configuring one or
- more Solr Cores, as well as allowing Cores to be added, removed, and
- reloaded via HTTP requests.
- More information about options available in this configuration file,
- and Solr Core administration can be found online:
- http://wiki.apache.org/solr/CoreAdmin
- -->
- <solr>
- <!--
- maxBooleanClauses
- Sets the maximum number of clauses allowed in any boolean query.
- This global parameter is now defined in the solr.xml (since Solr 8.1).
- See upgrade notes: https://lucene.apache.org/solr/guide/8_2/solr-upgrade-notes.html
- and https://lucene.apache.org/solr/guide/8_2/format-of-solr-xml.html#global-maxbooleanclauses
- -->
- <int name="maxBooleanClauses">${solr.max.booleanClauses:60000}</int>
-
- <solrcloud>
- <str name="host">${host:}</str>
- <int name="hostPort">${jetty.port:8983}</int>
- <str name="hostContext">${hostContext:solr}</str>
- <bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>
- <int name="zkClientTimeout">${zkClientTimeout:30000}</int>
- <int name="distribUpdateSoTimeout">${distribUpdateSoTimeout:600000}</int>
- <int name="distribUpdateConnTimeout">${distribUpdateConnTimeout:60000}</int>
- <str name="zkCredentialsProvider">${zkCredentialsProvider:org.apache.solr.common.cloud.DefaultZkCredentialsProvider}</str>
- <str name="zkACLProvider">${zkACLProvider:org.apache.solr.common.cloud.DefaultZkACLProvider}</str>
- </solrcloud>
- <shardHandlerFactory name="shardHandlerFactory"
- class="HttpShardHandlerFactory">
- <int name="socketTimeout">${socketTimeout:600000}</int>
- <int name="connTimeout">${connTimeout:60000}</int>
- </shardHandlerFactory>
- </solr>
|