Closed kylermintah closed 4 years ago
Resolves #106
This Pull Request contains the aggregation pipeline for lat-long $geoNear functionality. Still TODO: Creating coordinate to mile conversions and final query logic for appropriate searching.
Test URL Format: http://localhost: **PORT** /events?index=location&lat=39.9594667&long=-75.2249542&key= **KEY** &query={%22category%22:%22Music%22}&radius=0.0002
http://localhost: **PORT** /events?index=location&lat=39.9594667&long=-75.2249542&key= **KEY** &query={%22category%22:%22Music%22}&radius=0.0002
Resolves #106
This Pull Request contains the aggregation pipeline for lat-long $geoNear functionality. Still TODO: Creating coordinate to mile conversions and final query logic for appropriate searching.