Class DispatchTuning

java.lang.Object
com.yahoo.vespa.model.content.DispatchTuning

public class DispatchTuning extends Object
Tuning of dispatching to content nodes, see the dispatch tuning documentation.
Author:
Simon Thoresen Hult, bratseth
  • Field Details

  • Method Details

    • getMaxHitsPerPartition

      public 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
    • getPrioritizeAvailability

      public Boolean getPrioritizeAvailability()
      Returns true if we should dispatch to groups within MinActiveDocsCoverage of the *median* document count of other groups (default), or false to only dispatch to those within MinActiveDocsCoverage of the *max* document count.
    • getMinActiveDocsCoverage

      public Double getMinActiveDocsCoverage()
      Returns the percentage of documents which must be available in a group for that group to receive queries
    • getTopkProbability

      public Double getTopkProbability()