Skip to content

Commit a9ee991

Browse files
committed
Fix missing bytesValue call
1 parent 74822c2 commit a9ee991

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
@@ -1203,7 +1203,7 @@ private boolean indexValue(DocumentParserContext context, RawString value) {
12031203
context.addIgnoredField(fullPath());
12041204
if (isSyntheticSource) {
12051205
// Save a copy of the field so synthetic source can load it
1206-
context.doc().add(new StoredField(originalName(), value.bytesValue));
1206+
context.doc().add(new StoredField(originalName(), value.bytesValue()));
12071207
}
12081208
return false;
12091209
}

0 commit comments

Comments
 (0)