Module: Eson::HTTP::SimpleSearch

Extended by:
API
Includes:
Shared::SimpleSearch
Defined in:
lib/eson/http/core/simple_search.rb

Instance Method Summary collapse

Methods included from API

request_method

Instance Method Details

#pathObject



9
10
11
12
13
14
15
# File 'lib/eson/http/core/simple_search.rb', line 9

def path
  unless types.empty?
    "{indices}/{types}/_search"
  else
    "{indices}/_search"
  end
end