Class: Elasticated::Mapping::Fields::StringField
- Inherits:
-
FieldWithDocValues
- Object
- StandardField
- FieldWithDocValues
- Elasticated::Mapping::Fields::StringField
- Defined in:
- lib/elasticated/mapping/fields/string_field.rb
Instance Attribute Summary
Attributes inherited from FieldWithDocValues
Attributes inherited from StandardField
Instance Method Summary collapse
Methods inherited from FieldWithDocValues
Methods inherited from StandardField
Constructor Details
This class inherits a constructor from Elasticated::Mapping::Fields::FieldWithDocValues
Instance Method Details
#build_body ⇒ Object
6 7 8 9 10 |
# File 'lib/elasticated/mapping/fields/string_field.rb', line 6 def build_body body = super body[:index] = :not_analyzed body end |
#type ⇒ Object
12 13 14 |
# File 'lib/elasticated/mapping/fields/string_field.rb', line 12 def type :string end |