Method: ES::Index::Model::ClassMethods#es_analysis
- Defined in:
- lib/es/index/model.rb
#es_analysis(&block) ⇒ Object
95 96 97 98 99 100 101 102 103 |
# File 'lib/es/index/model.rb', line 95 def es_analysis(&block) @es_analysis ||= {} if block @es_analysis = block.call else self.es_index_model @es_analysis end end |