struct Elasticsearch::Client::SearchQuery(QueryType, AggregationType)
- Elasticsearch::Client::SearchQuery(QueryType, AggregationType)
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
client.crConstructors
- .new(pull : JSON::PullParser)
- .new(query : QueryType, from : Int32 | Int64 | Nil = nil, size : Int32 | Int64 | Nil = nil, aggregations : AggregationType? = nil, sort : Sort | Array(Sort) | Nil = nil)
Instance Method Summary
- #aggregations : AggregationType?
- #from : Int64 | Int32 | Nil
- #query : QueryType
- #size : Int64 | Int32 | Nil
- #sort : Sort | Array(Sort) | Nil
Constructor Detail
def self.new(query : QueryType, from : Int32 | Int64 | Nil = nil, size : Int32 | Int64 | Nil = nil, aggregations : AggregationType? = nil, sort : Sort | Array(Sort) | Nil = nil)
#