struct Elasticsearch::Property

Included Modules

Defined in:

mappings.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(type : Type, *, format : Elasticsearch::Property::Format | Nil = nil, fields : Elasticsearch::Fields | Nil = nil, index : Bool | Nil = nil, analyzer : Nil | String = nil, time_series_dimension : Bool | Nil = nil, time_series_metric : Elasticsearch::Property::TimeSeriesMetricType | Nil = nil, properties : Nil | Hash(String, Elasticsearch::Property::NestedProperty) = nil) #

[View source]

Instance Method Detail

def analyzer : String | Nil #

[View source]
def fields : Fields | Nil #

[View source]
def format : Format | Nil #

[View source]
def index : Bool | Nil #

getter keyword : JSON::Any?


[View source]
def properties : Hash(String, NestedProperty) | Nil #

[View source]
def time_series_dimension : Bool | Nil #

[View source]
def time_series_metric : TimeSeriesMetricType | Nil #

[View source]
def type : Type #

[View source]