Method: Elastic::Core::Connector#status
- Defined in:
- lib/elastic/core/connector.rb
#status ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/elastic/core/connector.rb', line 15 def status return :ready if Elastic.config.disable_indexing actual_name = resolve_actual_index_name return :not_available if actual_name.nil? return :not_synchronized unless mapping_synchronized? actual_name :ready end |