Method: Elastic::Core::Connector#remap
- Defined in:
- lib/elastic/core/connector.rb
#remap ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/elastic/core/connector.rb', line 30 def remap case status when :not_available create_from_scratch when :not_synchronized begin setup_index_mapping resolve_actual_index_name rescue Elasticsearch::Transport::Transport::Errors::BadRequest return false end end true end |