I am currently experimenting with using a Raspberry Pi 4 to ingest Reddit data in real-time. It is working very well, but I'm having a hard time finding concise documentation on how to use date ranges for a URI search.
For example, to set the range for the last hour I can do this:
This works as expected. However, if I try to use actual dates, I don't get back any data. For example:
I also tried including the time portion but that returned an empty set as well:
I would expect this to return results since I'm searching for a range for the entire year, but no documents are returned. What is the correct syntax when searching exact dates or datetime values?
The mapping for the created_utc field is as follows:
Also, this is the entire mapping for the index: http://pi4.pushshift.io/_mapping?pretty
These are the indices: http://pi4.pushshift.io/_cat/indices