Hello
I am new to elasticsearch and needed some advice around date range
queries :
The data being indexed contains start time and end time.
I am planning to map it to a date type and apply rangle queries to
return values
-
Is the time (below) a valid date format in elasticsearch
-
Can someone please illustrate a way that I can apply range queries
on indexed data . Example
i. 1 hour from now or 1 day from now
ii. From date to To Date{ "Id":
"AAMkADdmMDM4ZDZjLThkYjItNGZkYi05MDMyLWE3YzFkNWJkZWY1MABGAAAAAAAzlc4LRfuqSpTimVdZOAM5BwDVH
+l4CJ/IRKcSEvbCqPNfAQtPns0bAADVH+l4CJ/IRKcSEvbCqPNfAQtPo/jDAAA=",
"Subject":"Meet xyz in Mountain View",
"Location":"Red Rock Cafe",
"StartTime": "Thu Jan 05 01:00:00 PST 2012",
"EndTime": "Thu Jan 05 02:00:00 PST 2012",
"Organizer": "make@test.com",
"Body": "",
"RequiredAttendees": "",
"OptionalAttendees": "",
},
}