Class: Noiseless::Adapters::Typesense::IndicesAPI

Inherits:
IndicesAPI
  • Object
show all
Defined in:
lib/noiseless/adapters/typesense.rb

Instance Method Summary collapse

Methods inherited from IndicesAPI

#get, #initialize, #stats

Constructor Details

This class inherits a constructor from Noiseless::Adapters::IndicesAPI

Instance Method Details

#refresh(index: nil) ⇒ Object

rubocop:disable Lint/UnusedMethodArgument



23
24
25
26
# File 'lib/noiseless/adapters/typesense.rb', line 23

def refresh(index: nil) # rubocop:disable Lint/UnusedMethodArgument
  # Typesense doesn't require explicit refresh - documents are immediately available
  { "_shards" => { "total" => 1, "successful" => 1, "failed" => 0 } }
end