| 9 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-77.96240234375,37.52199935913086],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766901600)"}}}},{"$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 | 34 |
| 12 | db.events_cache.insert( {"_id":"684195b0270a581aedde2a2743b77a5c","data":[{"Event":{"_id":{"title":"South of The James Market","venue_name":"","city":"Richmond","state":"VA"},"id":ObjectId ("687938e4384bf9134e018f94"),"city":"Richmond","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":28.873353265328124,"end":"MongoDate(0.00000000 1766926800)","event_id":74849065,"featured":"","geo":[-77.4365005493164,37.53950119018555],"group_key":"3201699","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Richmond, VA","repeat_id":"3201699","search_text":"South of The James Market, , Forest Hill Park, 4021 Forest Hill Avenue, Richmond, seasonnbspyear round market hours sundays ndash locationnbspforest hill parknbsp forest avenue","sef_tail":"\/event\/south-of-the-james-market-2025-12-28-richmond-va.html","start":"MongoDate(0.00000000 1766916000)","state":"VA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"South of The James Market","town_sef_url":"richmond-va","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Lakeside Farmers' Market","venue_name":"","city":"Henrico","state":"VA"},"id":ObjectId ("687938e4384bf9134e018f61"),"city":"Henrico","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 11:00am","time_string":"11:00 AM","distance":34.98676296454642,"end":"MongoDate(0.00000000 1766934000)","event_id":74848912,"featured":"","geo":[-77.32530212402344,37.5463981628418],"group_key":"3201689","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Henrico, VA","repeat_id":"3201689","search_text":"Lakeside Farmers' Market, , 6110 Lakeside Avenue, Henrico, seasonnbspyear round market hours wednesday pmsaturdays pmsunday am locationnbsp lakeside avenue","sef_tail":"\/event\/lakeside-farmers-market-2025-12-28-henrico-va.html","start":"MongoDate(0.00000000 1766919600)","state":"VA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Lakeside Farmers' Market","town_sef_url":"henrico-va","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Virginia Ducks Unlimited Volunteer Celebration","venue_name":"","city":"Doswell","state":"VA"},"id":ObjectId ("687941527db01079a505e1c3"),"city":"Doswell","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Feb 28, 2026 at 4:00pm","time_string":null,"distance":19.593733588029604,"end":"","event_id":null,"featured":"","geo":[-78.21440124511719,37.722999572753906],"group_key":null,"image_url":"https:\/\/cdn-step.americantowns.com\/img\/ducks.png","location_string":"The Meadow Pavilion","repeat_id":null,"search_text":"Virginia Ducks Unlimited Volunteer Celebration The Meadow Pavilion","sef_tail":"\/du-event\/virginia-ducks-unlimited-volunteer-celebration-106641.html","start":"MongoDate(0.00000000 1772294400)","state":"VA","tags":["ducks"],"title":"Virginia Ducks Unlimited Volunteer Celebration","town_sef_url":"doswell-va","venue_name":"","dates":[]}}],"params":"{\"title\":\"Events Near Macon VA\",\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags\":\"\",\"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\":37.52199935913086,\"lng\":-77.96240234375,\"latlng\":\"37.521999359131,-77.96240234375\",\"count\":0}","modified":"MongoDate(0.22300000 1766918258)","created":"MongoDate(0.22300000 1766918258)"} , true) | | 0 | 0 | 2 |