struct Elasticsearch::SearchResult(T)
- Elasticsearch::SearchResult(T)
- Struct
- Value
- Object
Included Modules
- Enumerable(Elasticsearch::SearchResult::Hit(T))
- JSON::Serializable
Defined in:
elasticsearch.crConstructors
Instance Method Summary
- #aggregations : Hash(String, Aggregations::Results) | Nil
-
#each(&)
Must yield this collection's elements to the block.
- #hits : Hits(T)
-
#profile : JSON::Any | Nil
getter aggregations : Hash(String, JSON::Any)?
- #shards : Shards
- #timed_out : Bool
- #took : Time::Span
Constructor Detail
Instance Method Detail
def each(&)
#
Description copied from module Enumerable(Elasticsearch::SearchResult::Hit(T))
Must yield this collection's elements to the block.