Not able to filter the elasticsearch data based on dates. Not able to correctly figure out the syntax.
Have tried all below given queries.
localhost:9200/index/_search?q=date:>=2019-01-01
localhost:9200/index/_search?q=date:>=2019-01-01 00:00:00.0
localhost:9200/index/_search?q=date:>=2019-01-01T00:00:00.0
Need to fetch all the docs that have date > 2019-01-01 00:00:00.
Error: "type":"parse_exception","reason":"failed to parse date field [2019-01-01] with format [yyyy-MM-dd HH:mm:ss.S]"}]