struct Elasticsearch::SearchResult(T)

Included Modules

Defined in:

elasticsearch.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def aggregations : Hash(String, Aggregations::Results) | Nil #

[View source]
def each(&) #
Description copied from module Enumerable(Elasticsearch::SearchResult::Hit(T))

Must yield this collection's elements to the block.


[View source]
def hits : Hits(T) #

[View source]
def profile : JSON::Any | Nil #

getter aggregations : Hash(String, JSON::Any)?


[View source]
def shards : Shards #

[View source]
def timed_out : Bool #

[View source]
def took : Time::Span #

[View source]