Class DispatchTuning


  • public class DispatchTuning
    extends java.lang.Object
    Tuning of dispatching to content nodes, see the dispatch tuning documentation.
    Author:
    Simon Thoresen Hult
    • 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
      • 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