Skip to content

Commit a060542

Browse files
assert
1 parent 35ca606 commit a060542

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/java/org/elasticsearch/search/query/QuerySearchResult.java

+1
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ public void writeToNoId(StreamOutput out) throws IOException {
486486
out.writeBoolean(true);
487487
writeTopDocs(out, topDocsAndMaxScore);
488488
} else {
489+
assert isPartiallyReduced();
489490
out.writeBoolean(false);
490491
}
491492
} else {

0 commit comments

Comments
 (0)