diff --git a/core/app/searcher/src/main/java/io/openk9/searcher/resource/SearchResource.java b/core/app/searcher/src/main/java/io/openk9/searcher/resource/SearchResource.java index 54ceab384..8fba01f74 100644 --- a/core/app/searcher/src/main/java/io/openk9/searcher/resource/SearchResource.java +++ b/core/app/searcher/src/main/java/io/openk9/searcher/resource/SearchResource.java @@ -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();