7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-74.23249816894531,40.770301818847656],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1758171600)"},"tags":"running"}}},{"$sort":{"start":1,"id":1}},{"$group":{"_id":{"title":"$title","venue_name":"$venue_name","city":"$city","state":"$state"},"id":{"$first":"$_id"},"city":{"$first":"$city"},"cvent_id":{"$first":"$cvent_id"},"cvent_status":{"$first":"$cvent_status"},"date_string":{"$first":"$date_string"},"time_string":{"$first":"$time_string"},"distance":{"$first":"$distance"},"end":{"$first":"$end"},"event_id":{"$first":"$event_id"},"featured":{"$first":"$featured"},"geo":{"$first":"$geo"},"group_key":{"$first":"$group_key"},"image_url":{"$first":"$image_url"},"location_string":{"$first":"$location_string"},"repeat_id":{"$first":"$repeat_id"},"search_text":{"$first":"$search_text"},"sef_tail":{"$first":"$sef_tail"},"start":{"$first":"$start"},"state":{"$first":"$state"},"tags":{"$first":"$tags"},"title":{"$first":"$title"},"town_sef_url":{"$first":"$town_sef_url"},"venue_name":{"$first":"$venue_name"},"dates":{"$push":{"start":"$start","date_string":"$date_string","sef_tail":"$sef_tail"}}}},{"$sort":{"start":1,"id":1}},{"$sort":{"start":1,"id":1}},{"$skip":0},{"$limit":15}]}, [] ).sort( {"start":1,"id":1} ).limit( 15 ).skip( 0 ) | | 0 | 5 | 85 |
10 | db.events_cache.insert( {"_id":"1998196eebd8a310d1f0be950f129feb","data":[{"Event":{"_id":{"title":"The Eugene 'Geno' Goodrich Foundation Fighting Melanoma 5K Run\/Walk","venue_name":"Farmingdale High School","city":"Farmingdale","state":"NY"},"id":ObjectId ("68793956384bf9134e0341fb"),"city":"Farmingdale","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 27, 2025 at 9:00am","time_string":"9:00 AM","distance":41.50215780817895,"end":"","event_id":75946286,"featured":"","geo":[-73.4448013305664,40.70869827270508],"group_key":"75946286","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Farmingdale, NY","repeat_id":"","search_text":"The Eugene 'Geno' Goodrich Foundation Fighting Melanoma 5K Run\/Walk, Farmingdale High School, 150 Lincoln Street, Farmingdale, awardsmoveralltop mgroupsnbsp amp under beneficiarythe eugene ldquogenordquo goodrich foundationthis foundation been created raise money scholarship that will awarded farmingdale senior lacrosse player each year addition proceeds melanoma research help awareness funds fight this terrible diseaseclick here register","sef_tail":"\/event\/the-eugene-geno-goodrich-foundation-fighting-melanoma-5k-runwalk-2025-09-27-farmingdale-ny.html","start":"MongoDate(0.00000000 1758963600)","state":"NY","tags":["aarp","suggestion-aarp","step-outside","running","5ks","health-charity-walk","fundraiser","sports-and-recreation"],"title":"The Eugene 'Geno' Goodrich Foundation Fighting Melanoma 5K Run\/Walk","town_sef_url":"farmingdale-ny","venue_name":"Farmingdale High School","dates":[]}},{"Event":{"_id":{"title":"Unleash Your Inner Hero at Annual Superheroes for Child Care 5K and Kids Fun Run","venue_name":"","city":"East Meadow","state":"NY"},"id":ObjectId ("68793929384bf9134e02b080"),"city":"East Meadow","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 27, 2025 at 9:30am","time_string":"9:30 AM","distance":35.48958121913934,"end":"","event_id":75774478,"featured":"","geo":[-73.55989837646484,40.71080017089844],"group_key":"75774478","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"East Meadow, NY","repeat_id":"","search_text":"Unleash Your Inner Hero at Annual Superheroes for Child Care 5K and Kids Fun Run, , Eisenhower Park Field 2, Parking Lot 2, East Meadow, NY, 11554, East Meadow, unleash your inner hero annual superheroes child care amp kids run amenities first finishers receive finisher medal live text email results free finish line photos personalized bibs registered weeks advance awards moverall mgroups under pickup person please event staff starting hour before start time hurry register personalized race number must know your number order pick bib there will self lookup areanbsp register within hours pickup texted seconds click above virtual shipped you sure provide shipping address while registeringnbsp donyour mail please live chat elitefeatscom wesend after confirming include apartment applicable tickets runwalk name three race day price increases scroll bottom page to come with swag click here course registration","sef_tail":"\/event\/unleash-your-inner-hero-at-annual-superheroes-for-child-care-5k-and-kids-fun-run-2025-09-27-east-meadow-ny.html","start":"MongoDate(0.00000000 1758965400)","state":"NY","tags":["aarp","suggestion-aarp","running","step-outside","good-for-kids","5ks","fun-run","sports-and-recreation"],"title":"Unleash Your Inner Hero at Annual Superheroes for Child Care 5K and Kids Fun Run","town_sef_url":"east-meadow-ny","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"The Classic Apple Pie 5K","venue_name":"Eisenhower Park","city":"East Meadow","state":"NY"},"id":ObjectId ("6879393c384bf9134e02f1a8"),"city":"East Meadow","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Sep 28, 2025 at 9:00am","time_string":"9:00 AM","distance":35.76710737858458,"end":"","event_id":75837697,"featured":"","geo":[-73.55349731445312,40.71799850463867],"group_key":"75837697","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"East Meadow, NY","repeat_id":"","search_text":"The Classic Apple Pie 5K, Eisenhower Park, 1899 Hempstead Turnpike, East Meadow, this race lsquopiersquoriffic join this september great experience walk scenic eisenhower park afterward pick your well earned some yummy treats from round foods waterloo sparkling water free kiddie dash minutes before rain shine click here register","sef_tail":"\/event\/the-classic-apple-pie-5k-2025-09-28-east-meadow-ny.html","start":"MongoDate(0.00000000 1759050000)","state":"NY","tags":["aarp","suggestion-aarp","running","step-outside","5ks","sports-and-recreation"],"title":"The Classic Apple Pie 5K","town_sef_url":"east-meadow-ny","venue_name":"Eisenhower Park","dates":[]}},{"Event":{"_id":{"title":"Blazing Trails 5K and 1 Mile Walk for Autism","venue_name":"Eisenhower Park","city":"East Meadow","state":"NY"},"id":ObjectId ("68793956384bf9134e034221"),"city":"East Meadow","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Oct 5, 2025 at 8:30am","time_string":"8:30 AM","distance":35.76710737858458,"end":"","event_id":75946330,"featured":"","geo":[-73.55349731445312,40.71799850463867],"group_key":"75946330","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"East Meadow, NY","repeat_id":"","search_text":"Blazing Trails 5K and 1 Mile Walk for Autism, Eisenhower Park, 1899 Hempstead Turnpike, East Meadow, walk scavenger hunt happening both inperson virtually anyone attending person irsquoattached virtual also include emails registrants those bring your completed forms finish line table claim prizenbspcostume contests on wersquohave gift card winners these categoriesbest individualbest childnbspbest duonbspawardsnot eligible group awardsmoveralltop nonbinarytop mmasters wheelchairage groupsmgroups amp under location parking click here register","sef_tail":"\/event\/blazing-trails-5k-and-1-mile-walk-for-autism-2025-10-05-east-meadow-ny.html","start":"MongoDate(0.00000000 1759653000)","state":"NY","tags":["aarp","suggestion-aarp","step-outside","running","5ks","health-charity-walk","fundraiser","sports-and-recreation"],"title":"Blazing Trails 5K and 1 Mile Walk for Autism","town_sef_url":"east-meadow-ny","venue_name":"Eisenhower Park","dates":[]}},{"Event":{"_id":{"title":"Annual Massapequa Park Mile","venue_name":"Massapequa Funeral Home Parking Lot","city":"Massapequa Park","state":"NY"},"id":ObjectId ("68793956384bf9134e034209"),"city":"Massapequa Park","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Oct 5, 2025 at 9:00am","time_string":"9:00 AM","distance":41.211454942684426,"end":"","event_id":75946303,"featured":"","geo":[-73.455313,40.6804915],"group_key":"75946303","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Massapequa Park, NY","repeat_id":"","search_text":"Annual Massapequa Park Mile, Massapequa Funeral Home Parking Lot, Park Blvd and Clark Blvd, Massapequa Park, women am menfree kids after menmileawardsparticipants must proper heat eligible awardsmoveralltop mmasters amp mgroups under click here register","sef_tail":"\/event\/annual-massapequa-park-mile-2025-10-05-massapequa-park-ny.html","start":"MongoDate(0.00000000 1759654800)","state":"NY","tags":["aarp","suggestion-aarp","step-outside","running","sports-and-recreation"],"title":"Annual Massapequa Park Mile","town_sef_url":"massapequa-park-ny","venue_name":"Massapequa Funeral Home Parking Lot","dates":[]}}],"params":"{\"title\":\"Upcoming 5Ks, 10Ks, Marathons and more Near Orange NJ\",\"tags\":\"running\",\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show\":15,\"show_limit\":3,\"sort\":\"\",\"days\":365,\"images\":\"yes\",\"max-days\":365,\"max-miles\":45,\"message\":\"\",\"min\":20,\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"more\":\"yes\",\"autoshowmore\":\"no\",\"link\":\"\",\"showdesc\":\"yes\",\"rankby\":\"distance\",\"type\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"lat\":40.770301818847656,\"lng\":-74.23249816894531,\"latlng\":\"40.770301818848,-74.232498168945\",\"count\":0}","modified":"MongoDate(0.31100000 1758231373)","created":"MongoDate(0.31100000 1758231373)"} , true) | | 0 | 0 | 7 |