We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcce0b7 commit 020503cCopy full SHA for 020503c
1 file changed
server/src/main/java/org/opensearch/search/SearchHit.java
@@ -211,7 +211,7 @@ public SearchHit(StreamInput in) throws IOException {
211
} else {
212
matchedQueries = new LinkedHashMap<>(size);
213
for (int i = 0; i < size; i++) {
214
- matchedQueries.put(in.readString(), in.readFloat());
+ matchedQueries.put(in.readString(), Float.NaN);
215
}
216
217
// we call the setter here because that also sets the local index parameter
0 commit comments