aboutsummaryrefslogtreecommitdiffstats
path: root/configdefinitions/src/vespa/dispatch.def
blob: 892b72c808137f3328bad3767f2caaf969a7dc1b (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright 2019 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# Configuration of dispatch from container nodes to search clusters

namespace=vespa.config.search

# The active docs a group must have as a % of the average active docs of all other groups,
# for that group to be included in queries
minActivedocsPercentage double default=97.0

# Minimum coverage for allowing a group to be considered for serving
minGroupCoverage double default=100

# Maximum number of nodes allowed to be down for group to be considered for serving
maxNodesDownPerGroup int default=0

# Distribution policy for group selection
distributionPolicy enum { ROUNDROBIN, ADAPTIVE } default=ROUNDROBIN

# Should fdispatch be used as the default dispatcher
useFdispatchByDefault bool default=true

# Is multi-level dispatch configured for this cluster
useMultilevelDispatch bool default=false

# Dispatch only to local nodes
useLocalNode bool default=false

# Number of document copies
searchableCopies long default=1

# Minimum search coverage required before returning the results of a query
minSearchCoverage double default=100

# Minimum wait time for full coverage after minimum coverage is achieved, factored based on time left at minimum coverage
minWaitAfterCoverageFactor double default=0

# Maximum wait time for full coverage after minimum coverage is achieved, factored based on time left at minimum coverage
maxWaitAfterCoverageFactor double default=1

# Number of JRT transport threads
numJrtTransportThreads int default=8

# Number of JRT connections per backend node
numJrtConnectionsPerNode int default=8

# The unique key of a search node
node[].key int

# The index of the group this search node belongs to
node[].group int default=0

# The host name of this search node
node[].host string

# The rpc port of this search node
node[].port int

# The legacy fs4 port of this search node
node[].fs4port int default=0