Class SearchResponseSections

java.lang.Object
org.elasticsearch.action.search.SearchResponseSections
All Implemented Interfaces:
Closeable, AutoCloseable, Releasable

public class SearchResponseSections extends Object implements Releasable
Holds some sections that a search response is composed of (hits, aggs, suggestions etc.) during some steps of the search response building.
  • Field Details

    • EMPTY_WITH_TOTAL_HITS

      public static final SearchResponseSections EMPTY_WITH_TOTAL_HITS
    • EMPTY_WITHOUT_TOTAL_HITS

      public static final SearchResponseSections EMPTY_WITHOUT_TOTAL_HITS
    • hits

      protected final SearchHits hits
    • aggregations

      protected final InternalAggregations aggregations
    • suggest

      protected final Suggest suggest
    • profileResults

      protected final SearchProfileResults profileResults
    • timedOut

      protected final boolean timedOut
    • terminatedEarly

      protected final Boolean terminatedEarly
    • numReducePhases

      protected final int numReducePhases
    • timeRangeFilterFromMillis

      protected final Long timeRangeFilterFromMillis
  • Constructor Details

  • Method Details