lib/elasticity/index_mapper.rb in es-elasticity-0.13.4.dblackmon.1 vs lib/elasticity/index_mapper.rb in es-elasticity-0.13.4.zpesic

- old
+ new

@@ -148,10 +148,9 @@ def map_hit(hit) attrs = { _id: hit["_id"] } attrs.merge!(_score: hit["_score"]) attrs.merge!(sort: hit["sort"]) attrs.merge!(hit["_source"]) if hit["_source"] - attrs.merge!(matched_queries: hit["matched_queries"]) if hit["matched_queries"] highlighted = nil if hit["highlight"] highlighted_attrs = hit["highlight"].each_with_object({}) do |(name, v), attrs|