aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/main/resources/configdefinitions/search.config.cluster.def
blob: ac88d5baa24a62ed943a7c4593cc6ee105ac5ca5 (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
28
29
30
# 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

#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

#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

#The configid to use to get other clusterspecific configs.
configid string default=""

#The mbus route to the backing content cluster
storageRoute string default=""

#Indexing mode for this cluster. This is a temporary workaround until this is correctly resolved per schema all over.
indexMode enum {INDEX, STREAMING, STORE_ONLY} default = INDEX