Skip to content

Commit 3cafd1a

Browse files
committed
NO string interning
1 parent de3160d commit 3cafd1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/x-content/impl/src/main/java/org/elasticsearch/xcontent/provider/json/JsonXContentImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public static final XContent jsonXContent() {
5454
jsonFactory.configure(JsonGenerator.Feature.AUTO_CLOSE_JSON_CONTENT, false);
5555
jsonFactory.configure(JsonParser.Feature.STRICT_DUPLICATE_DETECTION, true);
5656
jsonFactory.configure(JsonParser.Feature.USE_FAST_DOUBLE_PARSER, true);
57+
jsonFactory.configure(JsonFactory.Feature.INTERN_FIELD_NAMES, false);
5758
// keeping existing behavior of including source, for now
5859
jsonFactory.configure(JsonParser.Feature.INCLUDE_SOURCE_IN_LOCATION, true);
5960
jsonXContent = new JsonXContentImpl();

0 commit comments

Comments
 (0)