Skip to content

Commit e4123c9

Browse files
authored
Leave iff and if untouched
1 parent 1cfcda4 commit e4123c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/elasticsearch/search/SearchService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -963,8 +963,8 @@ public boolean canMatch(ShardSearchRequest request) throws IOException {
963963
}
964964

965965
/**
966-
* Returns true if the given search source builder can be early terminated by rewriting to a match none query. Or in other words
967-
* iff the execution of a the search request can be early terminated without executing it. This is for instance not possible if
966+
* Returns true iff the given search source builder can be early terminated by rewriting to a match none query. Or in other words
967+
* if the execution of a the search request can be early terminated without executing it. This is for instance not possible if
968968
* a global aggregation is part of this request or if there is a suggest builder present.
969969
*/
970970
public static boolean canRewriteToMatchNone(SearchSourceBuilder source) {

0 commit comments

Comments
 (0)