Skip to content

Option to allow docvalue_fields of date types to return ms #27740

Closed
@awick

Description

@awick

Prior to ES 6 docvalue_fields on dates returned ms, now it returns a formatted date. Would be nice if that formatting could be specified, including allowing epoch_millis.

https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html
Says that "The first format will be used to convert the milliseconds-since-the-epoch value back into a string.", so maybe this is a bug and not a feature request, but it doesn't seem to work.

Metadata

Metadata

Assignees

Labels

:Search/SearchSearch-related issues that do not fall into other categories>enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions