struct Elasticsearch::Client::SearchQuery(QueryType, AggregationType)

Included Modules

Defined in:

client.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(query : QueryType, from : Int32 | Int64 | Nil = nil, size : Int32 | Int64 | Nil = nil, aggregations : AggregationType? = nil, sort : Sort | Array(Sort) | Nil = nil) #

[View source]

Instance Method Detail

def aggregations : AggregationType? #

[View source]
def from : Int64 | Int32 | Nil #

[View source]
def query : QueryType #

[View source]
def size : Int64 | Int32 | Nil #

[View source]
def sort : Sort | Array(Sort) | Nil #

[View source]