Skip to content

Commit 748a398

Browse files
OAK-11775 improve log
1 parent fde8480 commit 748a398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/query/ElasticRequestHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ private Query createQuery(String propertyName, Filter.PropertyRestriction pr, Pr
11341134
ElasticIndexDefinition.MAPPING_VERSION.compareTo(new ElasticSemVer(1, 5, 0)) >= 0) {
11351135
throw new IllegalStateException("Backward compatibility for null check not needed with " + ElasticIndexDefinition.MAPPING_VERSION);
11361136
}
1137-
LOG.warn("Using deprecated null property check for field: {}. Please update your index definition to use the new nullProps field. " +
1137+
LOG.warn("Using deprecated null check strategy for field: {}. Please reindex tho update the internal mapping version. " +
11381138
"It will be removed with default index mapping version 1.5.0.", field);
11391139
return Query.of(q -> q.bool(b -> b.mustNot(mn -> mn.exists(e -> e.field(field)))));
11401140
}

0 commit comments

Comments
 (0)