module Elasticsearch::Model::Indexing::InstanceMethods
Public Instance Methods
update_document(*args, request_record: nil)
click to toggle source
monkey patch update_document
method from elasticsearch gem use super
and hook on reindex to reindex associations
for why request_record needed here and what it is see sync_adapter.rb
# File lib/activerecord_reindex/update_document_monkey_patch.rb, line 20 def update_document(*args, request_record: nil) # defined in ActiverecordReindex::ReflectionReindex update_document_hook(request_record) original_update_document(*args) end
Also aliased as: original_update_document