aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/resources/configdefinitions/search.config.cluster.def
blob: 2bd98f86ca811f7e1b63c73fb48fb22381e12a3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright Vespa.ai. 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

# Not used
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