Method: SearchFlip::Index::ClassMethods#mapping
- Defined in:
- lib/search_flip/index.rb
#mapping ⇒ Object
Specifies a type mapping. Override to specify a custom mapping. Please note that you don’t have to include the type name, even for Elasticsearch versions before 7, as SearchFlip automatically adds the type name if neccessary.
405 406 407 |
# File 'lib/search_flip/index.rb', line 405 def mapping {} end |