blob: 52eca7ef75344c70024e8af58b2f5f2fe2cd2de1 (
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
|
# 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
|