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 = nil, format : Nil | String = nil, relation : Nil | String = nil, time_zone : Nil | String = nil) #

[View source]

Instance Method Detail

def boost : Float64 | Nil #

[View source]
def field : String #

[View source]
def format : String | Nil #

[View source]
def gt : JSON::Any::Type | Nil #

[View source]
def gte : JSON::Any::Type | Nil #

[View source]
def lt : JSON::Any::Type | Nil #

[View source]
def lte : JSON::Any::Type | Nil #

[View source]
def relation : String | Nil #

[View source]
def time_zone : String | Nil #

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

[View source]