Module: Octo::Searchable

Defined in:
lib/octocore/search/searchable.rb

Instance Method Summary collapse

Instance Method Details

#indexable_with(indice_name, type) ⇒ Object

Defines the indice with which this would be indexed



13
14
15
# File 'lib/octocore/search/searchable.rb', line 13

def indexable_with(indice_name, type)

end

#searchclientObject

Gets the search client



5
6
7
8
9
10
# File 'lib/octocore/search/searchable.rb', line 5

def searchclient
  unless @searchClient
    @searchClient = Octo::Search::Client.new
  end
  @searchClient
end