Class: Noiseless::Adapters::Elasticsearch
- Inherits:
-
Noiseless::Adapter
- Object
- Noiseless::Adapter
- Noiseless::Adapters::Elasticsearch
- Defined in:
- lib/noiseless/adapters/elasticsearch.rb
Constant Summary collapse
- ClusterAPI =
Adapters::ClusterAPI
- IndicesAPI =
Adapters::IndicesAPI
Instance Method Summary collapse
-
#cluster ⇒ Object
Cluster health API - needed for Rails healthcheck.
-
#indices ⇒ Object
Indices API - needed for index management operations.
Methods included from Noiseless::Adapters::ExecutionModules::HttpTransport
Methods inherited from Noiseless::Adapter
#async_context?, #bulk, #create_index, #delete_document, #delete_index, #document_exists?, #index_document, #index_exists?, #initialize, #search, #search_raw, #update_document
Methods included from Introspection
#adapter_capabilities, #adapter_info, #build_execution_plan, #compatibility_matrix, #detect_execution_module, #engine_name, #explain_query, #profile_query
Methods included from Instrumentation
Instance Method Details
#cluster ⇒ Object
Cluster health API - needed for Rails healthcheck
14 15 16 |
# File 'lib/noiseless/adapters/elasticsearch.rb', line 14 def cluster @cluster ||= ClusterAPI.new(self) end |
#indices ⇒ Object
Indices API - needed for index management operations
19 20 21 |
# File 'lib/noiseless/adapters/elasticsearch.rb', line 19 def indices @indices ||= IndicesAPI.new(self) end |