Date format in response

Hi,

Few general Elasticsearch question regarding date data type.
When I'm indexing my data I'll get that same data in json response in _source part (if I index string I get String, if I index long/epoch I'll get long/epoch)

  • Is it possible to filter documents that are indexed with long/epoch or with String?
  • What is preferred way to fetch those documents to get consistent format regardless of the indexing format?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.