Module: Rooftop::AlgoliaSearch::PostSearching::ClassMethods

Defined in:
lib/rooftop/algolia_search/post_searching.rb

Instance Method Summary collapse

Instance Method Details

#search(query, opts = {}) ⇒ Object



12
13
14
15
# File 'lib/rooftop/algolia_search/post_searching.rb', line 12

def search(query, opts = {})
  opts = opts.with_indifferent_access
  search_index.search(query, opts).with_indifferent_access
end