8 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-104.22000122070312,39.71030044555664],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)"},"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 | 3 | 16 |
11 | db.events_cache.insert( {"_id":"b16df481d891c47d607a486671de3636","data":[{"Event":{"_id":{"title":"Rock Hawk Trail Race","venue_name":"Philip S. Miller Park","city":"Castle Rock","state":"CO"},"id":ObjectId ("68793947384bf9134e03151a"),"city":"Castle Rock","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Aug 30, 2025 at 7:30am","time_string":"7:30 AM","distance":41.039951433999576,"end":"","event_id":75880364,"featured":"","geo":[-104.83899688720703,39.358001708984375],"group_key":"75880364","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Castle Rock, CO","repeat_id":"","search_text":"Rock Hawk Trail Race, Philip S. Miller Park, 1375 W. Plum Creek Parkway, Castle Rock, join edition rock hawk half marathon held gorgeous thrilling rolling trails castle rockrsquomiller park amp ridgeline trail systems while overly technical these will challenge excite soak amazing views this excellent race both firsttime veteran trail runners provides nice test those training longer summer events sure bring your mini great kids hope this spring august th hawknbsp click here register","sef_tail":"\/event\/rock-hawk-trail-race-2025-08-30-castle-rock-co.html","start":"MongoDate(0.00000000 1756539000)","state":"CO","tags":["step-outside","aarp","running","trail-race","half-marathon","5ks","10ks","sports-and-recreation"],"title":"Rock Hawk Trail Race","town_sef_url":"castle-rock-co","venue_name":"Philip S. Miller Park","dates":[]}},{"Event":{"_id":{"title":"Broncos Fit 7K","venue_name":"Empower Field at Mile High","city":"Denver","state":"CO"},"id":ObjectId ("68793947384bf9134e0315c9"),"city":"Denver","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Aug 31, 2025 at 8:00am","time_string":"8:00 AM","distance":42.57826983953834,"end":"","event_id":75880676,"featured":"","geo":[-105.01899719238281,39.74639892578125],"group_key":"75880676","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Denver, CO","repeat_id":"","search_text":"Broncos Fit 7K, Empower Field at Mile High, 1701 Bryant St., Denver, broncos sunday august empower field mile high members country walkers runners alike invited join denver th annual presented commonspirit ticketmaster king soopers cigna participants will start head west into beautiful sloanlake neighborhood then they back stadium where through tunnel onto field like players finish yard line receive exclusive tshirt finishermedal want miss this unforgettable experience course click here register","sef_tail":"\/event\/broncos-fit-7k-2025-08-31-denver-co.html","start":"MongoDate(0.00000000 1756627200)","state":"CO","tags":["step-outside","aarp","running","walking","sports-and-recreation"],"title":"Broncos Fit 7K","town_sef_url":"denver-co","venue_name":"Empower Field at Mile High","dates":[]}},{"Event":{"_id":{"title":"Hot Chocolate Run","venue_name":"Washington Park","city":"Denver","state":"CO"},"id":ObjectId ("687938cb384bf9134e011d88"),"city":"Denver","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Oct 5, 2025 at 7:00am","time_string":"7:00 AM","distance":39.939184434686894,"end":"","event_id":74323179,"featured":"","geo":[-104.9704622,39.7026741],"group_key":"74323179","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Denver, CO","repeat_id":"","search_text":"Hot Chocolate Run, Washington Park, 701 S Franklin St,, Denver, americarsquosweetest back most indulgent today chocolate season denver with k distances postparty thatrsquomake cocoa crazy your friends will experience ultimate chocolate celebrationschedulestart time amk start amgear check opens mins before timecourse infochocolate courses take runners past lakes within washington park course extra sweet view they parallel cherry creekclick here course mapawardwinning swag kitchocolate kits chocfull sweetness exclusive fulljacket finisherrsquomedal that make melt included with every registration donrsquoforget size chart sure yoursquoselecting right more fitted style looser fit from sizing chartpostpartydiscover chocolateloveroasis celebrate amongst flower gardens greenery denverrsquomost gorgeous parks music vendors chocoholic finisherfull fondue chocolateclick register","sef_tail":"\/event\/hot-chocolate-run-2025-10-05-denver-co.html","start":"MongoDate(0.00000000 1759647600)","state":"CO","tags":["step-outside","suggestions-step-outside","aarp","running","5ks","10ks","not-at","sports-and-recreation"],"title":"Hot Chocolate Run","town_sef_url":"denver-co","venue_name":"Washington Park","dates":[]}}],"params":"{\"title\":\"Upcoming 5Ks, 10Ks, Marathons and more Near Byers CO\",\"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\":39.71030044555664,\"lng\":-104.22000122070312,\"latlng\":\"39.710300445557,-104.2200012207\",\"count\":0}","modified":"MongoDate(0.58600000 1756603008)","created":"MongoDate(0.58600000 1756603008)"} , true) | | 0 | 0 | 2 |