Module: Legion::Extensions::ElasticAppSearch::Runners::Analytics

Includes:
Helpers::Client, Helpers::Lex
Defined in:
lib/legion/extensions/elastic_app_search/runners/analytics.rb

Instance Method Summary collapse

Methods included from Helpers::Client

#client

Instance Method Details

#count(engine:, **opts) ⇒ Object



12
13
14
# File 'lib/legion/extensions/elastic_app_search/runners/analytics.rb', line 12

def count(engine:, **opts)
  client(opts).get_count_analytics(engine, opts)
end

#top_clicks(engine:, **opts) ⇒ Object



16
17
18
# File 'lib/legion/extensions/elastic_app_search/runners/analytics.rb', line 16

def top_clicks(engine:, **opts)
  client(opts).get_top_clicks_analytics(engine, opts)
end

#top_queries(engine:, **opts) ⇒ Object



8
9
10
# File 'lib/legion/extensions/elastic_app_search/runners/analytics.rb', line 8

def top_queries(engine:, **opts)
  client(opts).get_top_queries_analytics(engine, opts)
end