Skip to content

Commit dcefebf

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 3eba04d commit dcefebf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/mapper-extras/src/main/java/org/elasticsearch/index/mapper/extras/MatchOnlyTextFieldMapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ private IOFunction<LeafReaderContext, CheckedIntFunction<List<Object>, IOExcepti
253253
String parentField = searchExecutionContext.parentPath(name());
254254
var parent = searchExecutionContext.lookup().fieldType(parentField);
255255

256-
if (parent instanceof KeywordFieldMapper.KeywordFieldType keywordParent && keywordParent.ignoreAbove().valuesPotentiallyIgnored()) {
256+
if (parent instanceof KeywordFieldMapper.KeywordFieldType keywordParent
257+
&& keywordParent.ignoreAbove().valuesPotentiallyIgnored()) {
257258
if (parent.isStored()) {
258259
return storedFieldFetcher(parentField, keywordParent.originalName());
259260
} else if (parent.hasDocValues()) {

0 commit comments

Comments
 (0)