Skip to content

Commit a3e9641

Browse files
committed
Correct the isStored flag for wildcard field type
Signed-off-by: panguixin <panguixin@bytedance.com>
1 parent 5666982 commit a3e9641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/opensearch/index/mapper/WildcardFieldMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public WildcardFieldType(String name, Map<String, String> meta) {
315315
}
316316

317317
public WildcardFieldType(String name, NamedAnalyzer normalizer, Builder builder) {
318-
super(name, true, true, builder.hasDocValues.getValue(), TextSearchInfo.SIMPLE_MATCH_ONLY, builder.meta.getValue());
318+
super(name, true, false, builder.hasDocValues.getValue(), TextSearchInfo.SIMPLE_MATCH_ONLY, builder.meta.getValue());
319319
setIndexAnalyzer(normalizer);
320320
this.ignoreAbove = builder.ignoreAbove.getValue();
321321
this.nullValue = builder.nullValue.getValue();

0 commit comments

Comments
 (0)