struct Elasticsearch::Query::Range

Included Modules

Defined in:

query.cr

Constructors

Instance Method Summary

Constructor Detail

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

def self.new(field : String, *, gte : Array(JSON::Any) | ::Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil = nil, gt : Array(JSON::Any) | ::Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil = nil, lt : Array(JSON::Any) | ::Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil = nil, lte : Array(JSON::Any) | ::Bool | Float64 | Hash(String, JSON::Any) | Int64 | String | Nil = nil, boost : Float64? = nil, format : String? = nil, relation : String? = nil, time_zone : String? = nil) #

[View source]

Instance Method Detail

def boost : Float64? #

[View source]
def field : String #

[View source]
def format : String? #

[View source]
def gt : JSON::Any::Type? #

[View source]
def gte : JSON::Any::Type? #

[View source]
def lt : JSON::Any::Type? #

[View source]
def lte : JSON::Any::Type? #

[View source]
def relation : String? #

[View source]
def time_zone : String? #

[View source]
def to_json(json : JSON::Builder) #

[View source]