How to write query for free text elastic search for date field

Hi,

Currently the Date field is stored as long. How should I write free text elastic search query for finding the date.

in search text: 09/04/2018

data in elastic search: date: 1536041715846

Currently the Date field is stored as long

Do you mean that the mapping is a long for that field?
If so, change the type for that field to be a date instead.

Thankyou

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