7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-88.2969970703125,42.11009979248047],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1757566800)"},"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 | 2 | 63 |
10 | db.events_cache.insert( {"_id":"64e3fd6666ab1664db1e4f3d05e97bc2","data":[{"Event":{"_id":{"title":"Cornerstone Lakes Parkrun","venue_name":"Cornerstone Lakes Park","city":"West Chicago","state":"IL"},"id":ObjectId ("6879390d384bf9134e02406c"),"city":"West Chicago","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 13, 2025 at 8:00am","time_string":"8:00 AM","distance":12.59362093941291,"end":"","event_id":75478204,"featured":"","geo":[-88.2483386,41.9316591],"group_key":"3211508","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"West Chicago, IL","repeat_id":"3211508","search_text":"Cornerstone Lakes Parkrun, Cornerstone Lakes Park, 2199 Smith Road,, West Chicago, free fun friendly weekly community event walk jog run volunteer spectate ndash ityoutake part enjoyment please come along join whatever your pacecourse infoclockwise laps pavement around perimeter main lake start finish adjacent parking lotclick here course mapwefriendlyevery week grab post parkrun coffee starbucks main st charles please uscostnothing itfreeclick register","sef_tail":"\/event\/cornerstone-lakes-parkrun-2025-09-13-west-chicago-il.html","start":"MongoDate(0.00000000 1757750400)","state":"IL","tags":["step-outside","aarp","running","5ks","walking","sports-and-recreation"],"title":"Cornerstone Lakes Parkrun","town_sef_url":"west-chicago-il","venue_name":"Cornerstone Lakes Park","dates":{"1":{"start":"MongoDate(0.00000000 1758355200)","date_string":"Saturday, Sep 20, 2025 at 8:00am","sef_tail":"\/event\/cornerstone-lakes-parkrun-2025-09-20-west-chicago-il.html"},"2":{"start":"MongoDate(0.00000000 1758960000)","date_string":"Saturday, Sep 27, 2025 at 8:00am","sef_tail":"\/event\/cornerstone-lakes-parkrun-2025-09-27-west-chicago-il.html"}}}},{"Event":{"_id":{"title":"Bucktown 5K and Kids Run","venue_name":"Burr Elementary School Grounds","city":"Chicago","state":"IL"},"id":ObjectId ("687938cb384bf9134e011d76"),"city":"Chicago","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Oct 5, 2025 at 8:30am","time_string":"8:30 AM","distance":35.07583352181752,"end":"","event_id":74313921,"featured":"","geo":[-87.6686796,41.912127],"group_key":"74313921","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Chicago, IL","repeat_id":"","search_text":"Bucktown 5K and Kids Run, Burr Elementary School Grounds, 1621 West Wabansia, Chicago, want fun neighborhood run chicago th running bucktown kids ldquogoatrdquo with memorable through chicagorsquotrendiest neighborhoodsfrom start finish this flat familyfriendly course highlights arearsquomost beautiful historic buildings homes before crossing line into postrace partymdashcomplete delicious fresh donuts donrsquoforget bring along your little runners ages dashwhether first whole family experience eclectic vibe chicagorsquobucktown register todayschedulestart time amkids dash amcourse infokthe showcases best including local haunts like lottiersquoknown ldquomollyrsquosrdquo fire fans hold races highest quality standards from focusing design accuracy usatf certified coursekids dasha dash something sweet mdash after sign k register kiddos dashletrsquotogether cheer them onawardsmale female will receive prize purse plus voucher fleet feet chicagoplacegift voucher chicagond placegift chicagord chicagowinners need complete submit process paymentgroupsgroup awards given three male female winners following groups under click here","sef_tail":"\/event\/bucktown-5k-and-kids-run-2025-10-05-1-chicago-il.html","start":"MongoDate(0.00000000 1759653000)","state":"IL","tags":["step-outside","suggestions-step-outside","aarp","running","5ks","not-at","sports-and-recreation"],"title":"Bucktown 5K and Kids Run","town_sef_url":"chicago-il","venue_name":"Burr Elementary School Grounds","dates":[]}}],"params":"{\"title\":\"Upcoming 5Ks, 10Ks, Marathons and more Near Dundee IL\",\"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\":42.11009979248047,\"lng\":-88.2969970703125,\"latlng\":\"42.11009979248,-88.296997070312\",\"count\":1}","modified":"MongoDate(0.05500000 1757579956)","created":"MongoDate(0.05500000 1757579956)"} , true) | | 0 | 0 | 3 |