Sha256: 1b50d4066957f8675d4d84e2aaa8ab9ee7b1aff16718451e8193c031f88dce07
Contents?: true
Size: 543 Bytes
Versions: 16
Compression:
Stored size: 543 Bytes
Contents
if defined?(::Sunspot) ::Sunspot.module_eval do class << self %w(index index!).each do |method| add_method_tracer method, 'SolrClient/Sunspot/index' end add_method_tracer :commit, 'SolrClient/Sunspot/commit' %w[search more_like_this].each do |method| add_method_tracer method, 'SolrClient/Sunspot/query' end %w[remove remove! remove_by_id remove_by_id! remove_all remove_all!].each do |method| add_method_tracer method, 'SolrClient/Sunspot/delete' end end end end
Version data entries
16 entries across 16 versions & 2 rubygems