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, fields : Nil | Array(String) = nil, size : Int32 | Int64 | Nil = nil, aggregations : AggregationType | Nil = nil, source : Bool | String | Nil = nil, sort : Array(Hash(String, Elasticsearch::SortScript | Hash(String, String) | String)) | Hash(String, Elasticsearch::SortScript | Hash(String, String) | String) | Nil = nil, track_scores : Bool | Nil = nil, profile : Bool | Nil = nil)
Instance Method Summary
- #aggregations : AggregationType | Nil
- #fields : Array(String) | Nil
- #from : Int64 | Int32 | Nil
- #profile? : Bool | Nil
- #query : QueryType
- #size : Int64 | Int32 | Nil
- #sort : Sort | Array(Sort) | Nil
- #source : String | Bool | Nil
- #track_scores? : Bool | Nil
Constructor Detail
def self.new(query : QueryType, from : Int32 | Int64 | Nil = nil, fields : Nil | Array(String) = nil, size : Int32 | Int64 | Nil = nil, aggregations : AggregationType | Nil = nil, source : Bool | String | Nil = nil, sort : Array(Hash(String, Elasticsearch::SortScript | Hash(String, String) | String)) | Hash(String, Elasticsearch::SortScript | Hash(String, String) | String) | Nil = nil, track_scores : Bool | Nil = nil, profile : Bool | Nil = nil)
#