Class: Noiseless::Adapters::Typesense

Inherits:
Noiseless::Adapter show all
Includes:
ExecutionModules::TypesenseExecution
Defined in:
lib/noiseless/adapters/typesense.rb

Defined Under Namespace

Classes: IndicesAPI

Constant Summary collapse

ClusterAPI =
Adapters::ClusterAPI

Instance Method Summary collapse

Methods included from ExecutionModules::HttpTransport

#close, #initialize

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

#instrument

Instance Method Details

#clusterObject

Cluster health API - needed for Rails healthcheck



13
14
15
# File 'lib/noiseless/adapters/typesense.rb', line 13

def cluster
  @cluster ||= ClusterAPI.new(self)
end

#indicesObject

Indices API - needed for index management operations



18
19
20
# File 'lib/noiseless/adapters/typesense.rb', line 18

def indices
  @indices ||= IndicesAPI.new(self)
end