Method: Elastictastic::Client#get
- Defined in:
- lib/elastictastic/client.rb
#get(index, type, id, params = {}) ⇒ Object
67 68 69 70 71 |
# File 'lib/elastictastic/client.rb', line 67 def get(index, type, id, params = {}) @connection.get( path_with_query("/#{index}/#{type}/#{id}", params) ).body end |