Open shyam81295 opened 6 years ago
Hello @shyam81295,
This is a good idea to support it. We should also consider supporting the original Lucene format (where "now" is "NOW").
Right now this won't be on our priority list, but you can contribute a PR, including tests.
It would be great if words like
now
,now-5h
,now-1h
can be used in dates, without being treated as simple string.Parsing
date : [now-1h TO now]
would add more meaning to luqum. These human-readable queries are supported in Elasticsearch. See here Common optionsP.S. When I checked, this feature was not implemented. Kindly reply, if it is already there.