Skip to content

Commit 2b3d74d

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

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. Tests will fail in that case, meaning that we can remove this code
11331133
if (ElasticIndexDefinition.MAPPING_VERSION != null &&
11341134
ElasticIndexDefinition.MAPPING_VERSION.compareTo(new ElasticSemVer(1, 5, 0)) >= 0) {
1135-
throw new IllegalStateException("Backward compatibility for null check not needed with " + ElasticIndexDefinition.MAPPING_VERSION);
1135+
throw new IllegalStateException("Backward compatibility for null check is not supported anymore");
11361136
}
11371137
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);

0 commit comments

Comments
 (0)