module Octo::Searchable

Public Instance Methods

indexable_with(indice_name, type) click to toggle source

Defines the indice with which this would be indexed

# File lib/octocore-mongo/search/searchable.rb, line 13
def indexable_with(indice_name, type)

end
searchclient() click to toggle source

Gets the search client

# File lib/octocore-mongo/search/searchable.rb, line 5
def searchclient
  unless @searchClient
    @searchClient = Octo::Search::Client.new
  end
  @searchClient
end