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