How to store date range data in elastic search (aws) and search for a range?
问题 I am trying to store hotel room availability in elasticsearch. And then I need to search rooms those are available from a date till another date. I have come up with two ways to store data for availability, and they are as follows: Here availability dictionary store all dates and value of each date key is true of false, representing its available on that day or not. { "_id": "khg2uo47tyhgjwebu7624787", "room_type": "garden view", "hotel_name": "Cool hotel", "hotel_id": "jytu64r982u0299023",