Skip to content

Commit

Permalink
issue #1048: adds hit score to search response
Browse files Browse the repository at this point in the history
  • Loading branch information
mrk-vi committed Aug 7, 2024
1 parent 4b1326d commit 815c445
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,7 @@ private Response _toSearchResponse(SearchResponse searchResponse) {

hitMap.put("source", sourceMap);
hitMap.put("highlight", highlightMap);
hitMap.put("score", hit.getScore());

Object[] sortValues = hit.getSortValues();

Expand Down

0 comments on commit 815c445

Please sign in to comment.