Skip to content

Commit ffec507

Browse files
fix: constructor with hasDocValuesSkipper set to false
1 parent 6999ec7 commit ffec507

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,33 @@ public static final class DateFieldType extends MappedFieldType {
477477
private final boolean pointsMetadataAvailable;
478478
private final boolean hasDocValuesSkipper;
479479

480+
public DateFieldType(
481+
String name,
482+
boolean isIndexed,
483+
boolean pointsMetadataAvailable,
484+
boolean isStored,
485+
boolean hasDocValues,
486+
DateFormatter dateTimeFormatter,
487+
Resolution resolution,
488+
String nullValue,
489+
FieldValues<Long> scriptValues,
490+
Map<String, String> meta
491+
) {
492+
this(
493+
name,
494+
isIndexed,
495+
pointsMetadataAvailable,
496+
isStored,
497+
hasDocValues,
498+
false,
499+
dateTimeFormatter,
500+
resolution,
501+
nullValue,
502+
scriptValues,
503+
meta
504+
);
505+
}
506+
480507
public DateFieldType(
481508
String name,
482509
boolean isIndexed,

0 commit comments

Comments
 (0)