Date format in response


(Matija Bruncic) #1

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


(system) #2

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