Module: Eson::HTTP::Search
Instance Method Summary collapse
Methods included from API
Instance Method Details
#bare_path ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/eson/http/core/search.rb', line 9 def unless types.empty? path = "{indices}/{types}/" else path = "{indices}/" end end |
#path ⇒ Object
17 18 19 |
# File 'lib/eson/http/core/search.rb', line 17 def path + "_search" end |