Module: ElasticRecord::Index::MappingType
- Included in:
- ElasticRecord::Index
- Defined in:
- lib/elastic_record/index/mapping_type.rb
Overview
This module facilitates the removal of multiple mapping types from ElasticSearch. See www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html
* 6.x - Type defaults to _doc, but any type can be specified
* 7.x - Only _doc will be supported, effectively removing the type concept.
Instance Attribute Summary collapse
-
#mapping_type ⇒ Object
Returns the value of attribute mapping_type.
Instance Attribute Details
#mapping_type ⇒ Object
Returns the value of attribute mapping_type.
9 10 11 |
# File 'lib/elastic_record/index/mapping_type.rb', line 9 def mapping_type @mapping_type end |