Package com.yahoo.vespa.model.content
Class DispatchTuning
- java.lang.Object
-
- com.yahoo.vespa.model.content.DispatchTuning
-
public class DispatchTuning extends java.lang.Object
Tuning of dispatching to content nodes, see the dispatch tuning documentation.- Author:
- Simon Thoresen Hult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DispatchTuning.Builder
static class
DispatchTuning.DispatchPolicy
-
Field Summary
Fields Modifier and Type Field Description static DispatchTuning
empty
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DispatchTuning.DispatchPolicy
getDispatchPolicy()
Returns the policy used to select which group to dispatch a query tojava.lang.Integer
getMaxHitsPerPartition()
Returns the max number of hits to fetch from each partition, or null to fetch alljava.lang.Double
getMinActiveDocsCoverage()
Returns the percentage of documents which must be available in a group for that group to receive queriesjava.lang.Double
getMinGroupCoverage()
Returns the percentage of nodes in a group which must be up for that group to receive queriesjava.lang.Double
getTopkProbability()
void
setDispatchPolicy(DispatchTuning.DispatchPolicy dispatchPolicy)
-
-
-
Field Detail
-
empty
public static final DispatchTuning empty
-
-
Method Detail
-
getTopkProbability
public java.lang.Double getTopkProbability()
-
getMaxHitsPerPartition
public java.lang.Integer getMaxHitsPerPartition()
Returns the max number of hits to fetch from each partition, or null to fetch all
-
getDispatchPolicy
public DispatchTuning.DispatchPolicy getDispatchPolicy()
Returns the policy used to select which group to dispatch a query to
-
setDispatchPolicy
public void setDispatchPolicy(DispatchTuning.DispatchPolicy dispatchPolicy)
-
getMinGroupCoverage
public java.lang.Double getMinGroupCoverage()
Returns the percentage of nodes in a group which must be up for that group to receive queries
-
getMinActiveDocsCoverage
public java.lang.Double getMinActiveDocsCoverage()
Returns the percentage of documents which must be available in a group for that group to receive queries
-
-