struct

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

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
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)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

aggregations
Source
fields
Source
from
Source
profile?
Source
query
Source
size
Source
sort
Source
source
Source
track_scores?
Source