| 6 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-76.60160064697266,38.71770095825195],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1764914400)"}}}},{"$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 | 37 |
| 9 | db.events_cache.insert( {"_id":"471cd1f8a9d2071d56d63139b71f1c00","data":[{"Event":{"_id":{"title":"Anne Arundel County Farmers' Market","venue_name":"","city":"Annapolis","state":"MD"},"id":ObjectId ("68793927384bf9134e02a893"),"city":"Annapolis","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 6, 2025 at 7:00am","time_string":"7:00 AM","distance":20.473851913978173,"end":"MongoDate(0.00000000 1765022400)","event_id":75744591,"featured":"","geo":[-76.5071029663086,39.004398345947266],"group_key":"3214219","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Annapolis, MD","repeat_id":"3214219","search_text":"Anne Arundel County Farmers' Market, , 275 Truman Parkway, Annapolis, season year round market hours sundays am pmsaturdays noon location truman parkway","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-06-annapolis-md.html","start":"MongoDate(0.00000000 1765004400)","state":"MD","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Anne Arundel County Farmers' Market","town_sef_url":"annapolis-md","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765098000)","date_string":"Sunday, Dec 7, 2025 at 9:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-07-annapolis-md.html"},"2":{"start":"MongoDate(0.00000000 1765609200)","date_string":"Saturday, Dec 13, 2025 at 7:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-13-annapolis-md.html"},"3":{"start":"MongoDate(0.00000000 1765702800)","date_string":"Sunday, Dec 14, 2025 at 9:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-14-annapolis-md.html"},"4":{"start":"MongoDate(0.00000000 1766214000)","date_string":"Saturday, Dec 20, 2025 at 7:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-20-annapolis-md.html"},"5":{"start":"MongoDate(0.00000000 1766307600)","date_string":"Sunday, Dec 21, 2025 at 9:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-21-annapolis-md.html"},"6":{"start":"MongoDate(0.00000000 1766818800)","date_string":"Saturday, Dec 27, 2025 at 7:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-27-annapolis-md.html"},"7":{"start":"MongoDate(0.00000000 1766912400)","date_string":"Sunday, Dec 28, 2025 at 9:00am","sef_tail":"\/event\/anne-arundel-county-farmers-market-2025-12-28-annapolis-md.html"}}}},{"Event":{"_id":{"title":"Half Street Central Farmers Market","venue_name":"Half Street Central Farmers Market","city":"Washington","state":"DC"},"id":ObjectId ("6879391c384bf9134e027959"),"city":"Washington","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 6, 2025 at 9:00am","time_string":"9:00 AM","distance":24.42076272613864,"end":"MongoDate(0.00000000 1765026000)","event_id":75615378,"featured":"","geo":[-77.007002,38.875224],"group_key":"3203184","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Washington, DC","repeat_id":"3203184","search_text":"Half Street Central Farmers Market, Half Street Central Farmers Market, 1250 Half Street, Washington, seasonnbspsummer fall market hours december saturdays locationnbsp half street","sef_tail":"\/event\/half-street-central-farmers-market-2025-12-06-washington-dc.html","start":"MongoDate(0.00000000 1765011600)","state":"DC","tags":["farmers-market","step-outside","aarp","clubs-and-organizations"],"title":"Half Street Central Farmers Market","town_sef_url":"washington-dc","venue_name":"Half Street Central Farmers Market","dates":{"1":{"start":"MongoDate(0.00000000 1765616400)","date_string":"Saturday, Dec 13, 2025 at 9:00am","sef_tail":"\/event\/half-street-central-farmers-market-2025-12-13-washington-dc.html"},"2":{"start":"MongoDate(0.00000000 1766221200)","date_string":"Saturday, Dec 20, 2025 at 9:00am","sef_tail":"\/event\/half-street-central-farmers-market-2025-12-20-washington-dc.html"}}}},{"Event":{"_id":{"title":"Oldtown North Farmer's Market","venue_name":"Montgomery Park","city":"Alexandria","state":"VA"},"id":ObjectId ("68793929384bf9134e02b0ed"),"city":"Alexandria","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 7, 2025 at 9:00am","time_string":"9:00 AM","distance":24.615592736702016,"end":"MongoDate(0.00000000 1765112400)","event_id":75774608,"featured":"","geo":[-77.0409071,38.8142059],"group_key":"3201474","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Alexandria, VA","repeat_id":"3201474","search_text":"Oldtown North Farmer's Market, Montgomery Park, 901 North Royal Street, Alexandria, season year round market hours sundays ndash locationnbspnorth royal street","sef_tail":"\/event\/oldtown-north-farmers-market-2025-12-07-alexandria-va.html","start":"MongoDate(0.00000000 1765098000)","state":"VA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Oldtown North Farmer's Market","town_sef_url":"alexandria-va","venue_name":"Montgomery Park","dates":{"1":{"start":"MongoDate(0.00000000 1765702800)","date_string":"Sunday, Dec 14, 2025 at 9:00am","sef_tail":"\/event\/oldtown-north-farmers-market-2025-12-14-alexandria-va.html"},"2":{"start":"MongoDate(0.00000000 1766307600)","date_string":"Sunday, Dec 21, 2025 at 9:00am","sef_tail":"\/event\/oldtown-north-farmers-market-2025-12-21-alexandria-va.html"},"3":{"start":"MongoDate(0.00000000 1766912400)","date_string":"Sunday, Dec 28, 2025 at 9:00am","sef_tail":"\/event\/oldtown-north-farmers-market-2025-12-28-alexandria-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\":38.71770095825195,\"lng\":-76.60160064697266,\"latlng\":\"38.717700958252,-76.601600646973\",\"count\":0}","modified":"MongoDate(0.53900000 1764977615)","created":"MongoDate(0.53900000 1764977615)"} , true) | | 0 | 0 | 2 |