lib/searchkick/index.rb in searchkick-0.6.0 vs lib/searchkick/index.rb in searchkick-0.6.1

- old
+ new

@@ -48,14 +48,14 @@ ) end end def retrieve(document_type, id) - client.get_source( + client.get( index: name, type: document_type, id: id - ) + )["_source"] end protected def client