| 5 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-75.23650360107422,39.52349853515625],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1765692000)"}}}},{"$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 | 23 |
| 8 | db.events_cache.insert( {"_id":"374c7f8ce2cb0fd50d542c468663290b","data":[{"Event":{"_id":{"title":"New Castle Farmers Market","venue_name":"","city":"New Castle","state":"DE"},"id":ObjectId ("687938d2384bf9134e013cb5"),"city":"New Castle","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 14, 2025 at 10:00am","time_string":"10:00 AM","distance":21.9555068994197,"end":"MongoDate(0.00000000 1765731600)","event_id":74610978,"featured":"","geo":[-75.59750366210938,39.67639923095703],"group_key":"3197213","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"New Castle, DE","repeat_id":"3197213","search_text":"New Castle Farmers Market, , 110 North Dupont Highway, New Castle, seasonnbspyear round market hours thursdays pmfriday saturdays pmsundays am locationnbspnorth dupont highway castle de","sef_tail":"\/event\/new-castle-farmers-market-2025-12-14-new-castle-de.html","start":"MongoDate(0.00000000 1765706400)","state":"DE","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"New Castle Farmers Market","town_sef_url":"new-castle-de","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1766048400)","date_string":"Thursday, Dec 18, 2025 at 9:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-18-new-castle-de.html"},"2":{"start":"MongoDate(0.00000000 1766134800)","date_string":"Friday, Dec 19, 2025 at 9:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-19-new-castle-de.html"},"3":{"start":"MongoDate(0.00000000 1766221200)","date_string":"Saturday, Dec 20, 2025 at 9:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-20-new-castle-de.html"},"4":{"start":"MongoDate(0.00000000 1766311200)","date_string":"Sunday, Dec 21, 2025 at 10:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-21-new-castle-de.html"},"5":{"start":"MongoDate(0.00000000 1766739600)","date_string":"Friday, Dec 26, 2025 at 9:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-26-new-castle-de.html"},"6":{"start":"MongoDate(0.00000000 1766826000)","date_string":"Saturday, Dec 27, 2025 at 9:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-27-new-castle-de.html"},"7":{"start":"MongoDate(0.00000000 1766916000)","date_string":"Sunday, Dec 28, 2025 at 10:00am","sef_tail":"\/event\/new-castle-farmers-market-2025-12-28-new-castle-de.html"}}}},{"Event":{"_id":{"title":"Cowtown Farmers Market","venue_name":"","city":"Woodstown","state":"NJ"},"id":ObjectId ("687938eb384bf9134e01ae3a"),"city":"Woodstown","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 16, 2025 at 8:00am","time_string":"8:00 AM","distance":10.288256405275558,"end":"MongoDate(0.00000000 1765900800)","event_id":74997669,"featured":"","geo":[-75.3291015625,39.65399932861328],"group_key":"3198220","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Woodstown, NJ","repeat_id":"3198220","search_text":"Cowtown Farmers Market, , 780 Rte 40 Harding Hwy Woodstown, NJ 08098, Woodstown, seasonnbspyear round market hours tuesday saturday locationnbspharding woodstown","sef_tail":"\/event\/cowtown-farmers-market-2025-12-16-woodstown-nj.html","start":"MongoDate(0.00000000 1765872000)","state":"NJ","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Cowtown Farmers Market","town_sef_url":"woodstown-nj","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1766217600)","date_string":"Saturday, Dec 20, 2025 at 8:00am","sef_tail":"\/event\/cowtown-farmers-market-2025-12-20-woodstown-nj.html"},"2":{"start":"MongoDate(0.00000000 1766476800)","date_string":"Tuesday, Dec 23, 2025 at 8:00am","sef_tail":"\/event\/cowtown-farmers-market-2025-12-23-woodstown-nj.html"},"3":{"start":"MongoDate(0.00000000 1766822400)","date_string":"Saturday, Dec 27, 2025 at 8:00am","sef_tail":"\/event\/cowtown-farmers-market-2025-12-27-woodstown-nj.html"},"4":{"start":"MongoDate(0.00000000 1767081600)","date_string":"Tuesday, Dec 30, 2025 at 8:00am","sef_tail":"\/event\/cowtown-farmers-market-2025-12-30-woodstown-nj.html"}}}},{"Event":{"_id":{"title":"Dutch Country Farmers Market","venue_name":"","city":"Middletown","state":"DE"},"id":ObjectId ("68793904384bf9134e021706"),"city":"Middletown","cvent_id":null,"cvent_status":null,"date_string":"Thursday, Dec 18, 2025 at 8:30am","time_string":"8:30 AM","distance":24.11062513623093,"end":"MongoDate(0.00000000 1766080800)","event_id":75355801,"featured":"","geo":[-75.68579864501953,39.487098693847656],"group_key":"3210055","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Middletown, DE","repeat_id":"3210055","search_text":"Dutch Country Farmers Market, , 701 North Broad Street, Middletown, seasonnbspyear round market hours thursdays am pmfridays pmsaturdays locationnbspnorth broad street","sef_tail":"\/event\/dutch-country-farmers-market-2025-12-18-middletown-de.html","start":"MongoDate(0.00000000 1766046600)","state":"DE","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Dutch Country Farmers Market","town_sef_url":"middletown-de","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1766133000)","date_string":"Friday, Dec 19, 2025 at 8:30am","sef_tail":"\/event\/dutch-country-farmers-market-2025-12-19-middletown-de.html"},"2":{"start":"MongoDate(0.00000000 1766217600)","date_string":"Saturday, Dec 20, 2025 at 8:00am","sef_tail":"\/event\/dutch-country-farmers-market-2025-12-20-middletown-de.html"},"3":{"start":"MongoDate(0.00000000 1766822400)","date_string":"Saturday, Dec 27, 2025 at 8:00am","sef_tail":"\/event\/dutch-country-farmers-market-2025-12-27-middletown-de.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.52349853515625,\"lng\":-75.23650360107422,\"latlng\":\"39.523498535156,-75.236503601074\",\"count\":1}","modified":"MongoDate(0.19900000 1765712091)","created":"MongoDate(0.19900000 1765712091)"} , true) | | 0 | 0 | 2 |