Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Dec 2, 2024
1 parent 08d1a51 commit 742626d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2275,7 +2275,7 @@ private ShardLongFieldRange determineShardLongFieldRange(String fieldName) {
}
final MappedFieldType mappedFieldType = mapperService().fieldType(fieldName);
if (mappedFieldType instanceof DateFieldMapper.DateFieldType == false || mappedFieldType.name().equals(fieldName) == false) {
return ShardLongFieldRange.UNKNOWN; // field missing or not a date or an alias
return ShardLongFieldRange.UNKNOWN; // field is missing, an alias (as the field type has a different name) or not a date field
}
if (mappedFieldType.isIndexed() == false) {
return ShardLongFieldRange.UNKNOWN; // range information missing
Expand Down

0 comments on commit 742626d

Please sign in to comment.