Elasticsearch::Client::SearchQuery(QueryType, AggregationType)
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(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)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
aggregations
Sourcefields
Sourcefrom
Sourceprofile?
Sourcequery
Sourcesize
Sourcesort
Sourcesource
Sourcetrack_scores?
Source