Skip to content

Commit

Permalink
Add highlight value to result data (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
lakhansamani authored and metagrover committed Nov 15, 2018
1 parent 7d13dbd commit 86433e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/helper.js
Expand Up @@ -265,6 +265,7 @@ export const parseHits = (hits) => {
_id: data._id,
_index: data._index,
_type: data._type,
highlight: data.highlight || {},
...data._source,
...streamProps,
};
Expand Down

0 comments on commit 86433e9

Please sign in to comment.