Skip to content

Commit 26413b8

Browse files
committed
fix boolean logic
1 parent cd54bab commit 26413b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/search/fetch/FetchPhase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ private static boolean shouldExcludeVectorsFromSource(SearchContext context) {
462462
* Returns {@code null} when vectors should not be filtered out.
463463
*/
464464
private static SourceFilter maybeExcludeNonSemanticTextVectors(SearchContext context) {
465-
if (shouldExcludeVectorsFromSource(context)) {
465+
if (shouldExcludeVectorsFromSource(context) == false) {
466466
return null;
467467
}
468468
var lookup = context.getSearchExecutionContext().getMappingLookup();

0 commit comments

Comments
 (0)