diff options
author | Harald Musum <musum@verizonmedia.com> | 2020-09-10 19:54:48 +0200 |
---|---|---|
committer | Harald Musum <musum@verizonmedia.com> | 2020-09-10 19:54:48 +0200 |
commit | 9b948718144e5d556cc6ea49d2ff6bbf05f00b0e (patch) | |
tree | ba85cd69adb80f4eb2b885d792f4ff5ecf01ef93 /container-search/src/main/resources/configdefinitions/search.config.cluster.def | |
parent | 2f6d5764a8ac5fea80e44fc3d022a6b0b47ba890 (diff) |
Use full name in config definition file names
Diffstat (limited to 'container-search/src/main/resources/configdefinitions/search.config.cluster.def')
-rw-r--r-- | container-search/src/main/resources/configdefinitions/search.config.cluster.def | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/container-search/src/main/resources/configdefinitions/search.config.cluster.def b/container-search/src/main/resources/configdefinitions/search.config.cluster.def new file mode 100644 index 00000000000..52eca7ef753 --- /dev/null +++ b/container-search/src/main/resources/configdefinitions/search.config.cluster.def @@ -0,0 +1,28 @@ +# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +namespace=search.config + +#The id of the cluster (as specified in qr-searchers) +#Note: Use clusterName where possible instead +clusterId int default=0 + +#Internal searcher cache. Size is measured in megabytes of raw packet +#size. Hits larger than 1% of total cache size will not be cached. +cacheSize int default=1 + +#Timeout for internal searcher cache. Entries older than this number +#of seconds will be removed from cache. 0 or less means the cache is +#disabled. +cacheTimeout double default=0 + +#Whether or not to try another TLD if the current request fails. +failoverToRemote bool default=false + +#The name of the cluster (as specified in qr-searchers) +clusterName string + +#The maximum query timeout for this cluster in seconds (default 10 minutes) +maxQueryTimeout double default=600 + +#The maximum query timeout allowed before disabling the backend query cache for the given query (default 10 seconds). +#Note that the query timeout is used as the query cache timeout in the backend if enabled. +maxQueryCacheTimeout double default=10 |