Skip to content

Commit 4921474

Browse files
OAK-11775 log at error level if backward compatibility is not supported anymore
1 parent 49e8cc8 commit 4921474

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
@@ -1132,7 +1132,7 @@ private Query createQuery(String propertyName, Filter.PropertyRestriction pr, Pr
11321132
// check if the default mapping is >= 1.5.0
11331133
if (ElasticIndexDefinition.MAPPING_VERSION != null &&
11341134
ElasticIndexDefinition.MAPPING_VERSION.compareTo(new ElasticSemVer(1, 5, 0)) >= 0) {
1135-
LOG.warn("Backward compatibility for null check is not supported anymore. Query results may be incorrect. " +
1135+
LOG.error("Backward compatibility for null check is not supported anymore. Query results may be incorrect. " +
11361136
"Please reindex to update the internal mapping version.");
11371137
} else {
11381138
LOG.warn("Using deprecated null check strategy for field: {}. Please reindex tho update the internal mapping version. " +

0 commit comments

Comments
 (0)