Skip to content

Commit 7ed0857

Browse files
committed
use correct full name for offset field
1 parent 01cd313 commit 7ed0857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/mapper/KeywordFieldMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ public KeywordFieldMapper build(MapperBuilderContext context) {
390390

391391
// keep track of value offsets so that we can reconstruct arrays from doc values in order as was specified during indexing
392392
// (if field is stored then there is no point of doing this)
393-
offsetsFieldName = leafName() + OFFSETS_FIELD_NAME_SUFFIX;
393+
offsetsFieldName = context.buildFullName(leafName() + OFFSETS_FIELD_NAME_SUFFIX);
394394
} else {
395395
offsetsFieldName = null;
396396
}

0 commit comments

Comments
 (0)