lib/searchkick/logging.rb in searchkick-2.3.1 vs lib/searchkick/logging.rb in searchkick-2.3.2
- old
+ new
@@ -127,10 +127,10 @@
end
end
end
module SearchkickWithInstrumentation
- def multi_search(searches)
+ def multi_search(searches, **options)
event = {
name: "Multi Search",
body: searches.flat_map { |q| [q.params.except(:body).to_json, q.body.to_json] }.map { |v| "#{v}\n" }.join
}
ActiveSupport::Notifications.instrument("multi_search.searchkick", event) do