Class: OpenSearch::DSL::Search::Aggregations::TopHits
- Inherits:
-
Object
- Object
- OpenSearch::DSL::Search::Aggregations::TopHits
- Includes:
- BaseComponent
- Defined in:
- lib/opensearch/dsl/search/aggregations/top_hits.rb
Overview
A metric aggregator which returns the most relevant documents per bucket