flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

Directional queries #1213

Closed lkemmerer closed 5 years ago

lkemmerer commented 5 years ago

This uses a historical channel to create some data in the past to query against. It checks /next, /previous, /previous/N, /next/N, /earliest, /latest. There might be another PR to use directional queries against time paths rather than item paths, depending on whether the code paths are different.