struct Elasticsearch::Property
- Elasticsearch::Property
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
mappings.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #analyzer : String | Nil
- #fields : Fields | Nil
- #format : Format | Nil
-
#index : Bool | Nil
getter keyword : JSON::Any?
- #properties : Hash(String, NestedProperty) | Nil
- #time_series_dimension : Bool | Nil
- #time_series_metric : TimeSeriesMetricType | Nil
- #type : Type
Constructor Detail
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)
#