We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e14fa1 commit 6634a98Copy full SHA for 6634a98
server/src/main/java/org/elasticsearch/index/mapper/DateFieldMapper.java
@@ -407,12 +407,10 @@ public DateFieldMapper build(MapperBuilderContext context) {
407
indexSortConfig,
408
fullFieldName
409
);
410
- boolean hasInvertedIndex = hasDocValuesSkipper == false
411
- && index.getValue()
412
- && indexCreatedVersion.isLegacyIndexVersion() == false;
+ boolean hasPoints = hasDocValuesSkipper == false && index.getValue() && indexCreatedVersion.isLegacyIndexVersion() == false;
413
DateFieldType ft = new DateFieldType(
414
fullFieldName,
415
- hasInvertedIndex,
+ hasPoints,
416
hasDocValuesSkipper == false && index.getValue(),
417
store.getValue(),
418
docValues.getValue(),
0 commit comments