class ProxES::Search

Public Instance Methods

fields(indices, names_only) click to toggle source
# File lib/proxes/controllers/search.rb, line 14
def fields(indices, names_only)
  standard = { '_index' => 'text', '_type' => 'text', '_id' => 'text' }
  standard.merge ProxES::Services::Search.fields(index: indices, names_only: names_only)
end