summaryrefslogtreecommitdiffstats
path: root/container-search/src/main/resources/configdefinitions/search.config.cluster.def
diff options
context:
space:
mode:
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.def28
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