lib/elasticsearch/model/response/result.rb in elasticsearch-model-7.2.1 vs lib/elasticsearch/model/response/result.rb in elasticsearch-model-8.0.0.pre
- old
+ new
@@ -38,15 +38,9 @@
#
def id
@result['_id']
end
- # Return document `_type` as `_type`
- #
- def type
- @result['_type']
- end
-
# Delegate methods to `@result` or `@result._source`
#
def method_missing(name, *arguments)
case
when name.to_s.end_with?('?')