Class: Esse::AsyncIndexing::Jobs::DocumentUpsertByIdJob

Inherits:
Object
  • Object
show all
Defined in:
lib/esse/async_indexing/jobs/document_upsert_by_id_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(index_class_name, repo_name, document_id, operation = "index", options = {}) ⇒ Object



4
5
6
# File 'lib/esse/async_indexing/jobs/document_upsert_by_id_job.rb', line 4

def perform(index_class_name, repo_name, document_id, operation = "index", options = {})
  Esse::AsyncIndexing::Actions::UpsertDocument.call(index_class_name, repo_name, document_id, operation, options)
end