Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
pmpailis committed Nov 7, 2024
1 parent 711a5b6 commit f9c2029
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public ShardSearchRequest(
this.waitForCheckpoint = waitForCheckpoint;
this.waitForCheckpointsTimeout = waitForCheckpointsTimeout;
this.forceSyntheticSource = forceSyntheticSource;
this.innerHitsDisabled = source.innerHitsDisabled();
this.innerHitsDisabled = source != null && source.innerHitsDisabled();
}

@SuppressWarnings("this-escape")
Expand Down

0 comments on commit f9c2029

Please sign in to comment.