EventHopper / EHServerSide

Server-Side functionality including REST API, hosting scripts & client-server modules
0 stars 0 forks source link

Aggregation pipeline for latlong radius search #113

Closed kylermintah closed 4 years ago

kylermintah commented 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.

kylermintah commented 4 years ago

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