java.lang.Object
org.elasticsearch.search.profile.Profilers

public final class Profilers extends Object
Wrapper around all the profilers that makes management easier.
  • Constructor Details

  • Method Details

    • getCurrentQueryProfiler

      public QueryProfiler getCurrentQueryProfiler()
      Get the profiler for the query we are currently processing.
    • getAggregationProfiler

      public AggregationProfiler getAggregationProfiler()
    • getDfsProfiler

      public DfsProfiler getDfsProfiler()
      Build a profiler for the dfs phase or get the existing one.
    • startProfilingFetchPhase

      public static FetchProfiler startProfilingFetchPhase()
      Build a profiler for the fetch phase.
    • buildQueryPhaseResults

      public SearchProfileQueryPhaseResult buildQueryPhaseResults()
      Build the results for the query phase.