All Superinterfaces:
Aggregation, ToXContent, ToXContentFragment
All Known Implementing Classes:
InternalTopHits, ParsedTopHits

public interface TopHits extends Aggregation
Accumulation of the most relevant hits for a bucket this aggregation falls into.
  • Method Details

    • getHits

      SearchHits getHits()
      Returns:
      The top matching hits for the bucket