| 5 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-77.42420196533203,39.22050094604492],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1765087200)"}}}},{"$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":3}]}, [] ).sort( {"start":1,"id":1} ).limit( 3 ).skip( 0 ) | | 0 | 3 | 39 |
| 8 | db.events_cache.insert( {"_id":"5113f074b00c599eeb752cdd1d0b4efb","data":[{"Event":{"_id":{"title":"EatLoco Farmers Market at Brambleton","venue_name":"","city":"Ashburn","state":"VA"},"id":ObjectId ("687938e3384bf9134e0188a6"),"city":"Ashburn","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 7, 2025 at 9:00am","time_string":"9:00 AM","distance":14.1327299257646,"end":"MongoDate(0.00000000 1765112400)","event_id":74833260,"featured":"","geo":[-77.46109771728516,39.0181999206543],"group_key":"3201438","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Ashburn, VA","repeat_id":"3201438","search_text":"EatLoco Farmers Market at Brambleton, , Olympia Drive, Ashburn, season year round market hours every sunday locationnbspbrambleton town centernbspolympia drive","sef_tail":"\/event\/eatloco-farmers-market-at-brambleton-2025-12-07-ashburn-va.html","start":"MongoDate(0.00000000 1765098000)","state":"VA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"EatLoco Farmers Market at Brambleton","town_sef_url":"ashburn-va","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765702800)","date_string":"Sunday, Dec 14, 2025 at 9:00am","sef_tail":"\/event\/eatloco-farmers-market-at-brambleton-2025-12-14-ashburn-va.html"},"2":{"start":"MongoDate(0.00000000 1766307600)","date_string":"Sunday, Dec 21, 2025 at 9:00am","sef_tail":"\/event\/eatloco-farmers-market-at-brambleton-2025-12-21-ashburn-va.html"},"3":{"start":"MongoDate(0.00000000 1766912400)","date_string":"Sunday, Dec 28, 2025 at 9:00am","sef_tail":"\/event\/eatloco-farmers-market-at-brambleton-2025-12-28-ashburn-va.html"}}}},{"Event":{"_id":{"title":"Bethesda Central Farm Market","venue_name":"","city":"Bethesda","state":"MD"},"id":ObjectId ("687938ed384bf9134e01ba0a"),"city":"Bethesda","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 7, 2025 at 9:00am","time_string":"9:00 AM","distance":24.02309703554118,"end":"MongoDate(0.00000000 1765114200)","event_id":75028609,"featured":"","geo":[-77.10060119628906,38.98059844970703],"group_key":"3204251","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Bethesda, MD","repeat_id":"3204251","search_text":"Bethesda Central Farm Market, , Bethesda Elementary School, 7600 Arlington Road, Bethesda, market hours marchnbsp december sunday pm locationnbspbethesda elementary school arlington road","sef_tail":"\/event\/bethesda-central-farm-market-2025-12-07-bethesda-md.html","start":"MongoDate(0.00000000 1765098000)","state":"MD","tags":["farmers-market","step-outside","aarp","clubs-and-organizations","2025-updated"],"title":"Bethesda Central Farm Market","town_sef_url":"bethesda-md","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765702800)","date_string":"Sunday, Dec 14, 2025 at 9:00am","sef_tail":"\/event\/bethesda-central-farm-market-2025-12-14-bethesda-md.html"},"2":{"start":"MongoDate(0.00000000 1766307600)","date_string":"Sunday, Dec 21, 2025 at 9:00am","sef_tail":"\/event\/bethesda-central-farm-market-2025-12-21-bethesda-md.html"},"3":{"start":"MongoDate(0.00000000 1766912400)","date_string":"Sunday, Dec 28, 2025 at 9:00am","sef_tail":"\/event\/bethesda-central-farm-market-2025-12-28-bethesda-md.html"}}}},{"Event":{"_id":{"title":"PEC's Gilberts Corner Farmers Market","venue_name":"","city":"Aldie","state":"VA"},"id":ObjectId ("687938e3384bf9134e018901"),"city":"Aldie","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 7, 2025 at 10:00am","time_string":"10:00 AM","distance":20.640283236690525,"end":"MongoDate(0.00000000 1765121400)","event_id":74833390,"featured":"","geo":[-77.597900390625,38.95429992675781],"group_key":"3201441","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Aldie, VA","repeat_id":"3201441","search_text":"PEC's Gilberts Corner Farmers Market, , 39958 John Mosby Highway, Aldie, season year round market hours open every saturday sunday am pm locationnbsp john mosby highway","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-07-aldie-va.html","start":"MongoDate(0.00000000 1765101600)","state":"VA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"PEC's Gilberts Corner Farmers Market","town_sef_url":"aldie-va","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765620000)","date_string":"Saturday, Dec 13, 2025 at 10:00am","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-13-aldie-va.html"},"2":{"start":"MongoDate(0.00000000 1765706400)","date_string":"Sunday, Dec 14, 2025 at 10:00am","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-14-aldie-va.html"},"3":{"start":"MongoDate(0.00000000 1766224800)","date_string":"Saturday, Dec 20, 2025 at 10:00am","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-20-aldie-va.html"},"4":{"start":"MongoDate(0.00000000 1766311200)","date_string":"Sunday, Dec 21, 2025 at 10:00am","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-21-aldie-va.html"},"5":{"start":"MongoDate(0.00000000 1766829600)","date_string":"Saturday, Dec 27, 2025 at 10:00am","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-27-aldie-va.html"},"6":{"start":"MongoDate(0.00000000 1766916000)","date_string":"Sunday, Dec 28, 2025 at 10:00am","sef_tail":"\/event\/pecs-gilberts-corner-farmers-market-2025-12-28-aldie-va.html"}}}}],"params":"{\"show\":3,\"max-miles\":\"25\",\"max-days\":\"120\",\"keyword\":\"\",\"radius\":25,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show_limit\":3,\"sort\":\"\",\"days\":\"120\",\"images\":\"yes\",\"message\":\"\",\"min\":20,\"title\":\"\",\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"more\":\"yes\",\"autoshowmore\":\"no\",\"link\":\"\",\"showdesc\":\"yes\",\"rankby\":\"distance\",\"type\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"lat\":39.22050094604492,\"lng\":-77.42420196533203,\"latlng\":\"39.220500946045,-77.424201965332\",\"count\":3}","modified":"MongoDate(0.67200000 1765099851)","created":"MongoDate(0.67200000 1765099851)"} , true) | | 0 | 0 | 2 |