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

- old
+ new

@@ -148,9 +148,10 @@ 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|