| 5 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-74.2969970703125,41.02870178222656],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766383200)"}}}},{"$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 | 42 |
| 8 | db.events_cache.insert( {"_id":"be56e1f5c3790c00e30aaaf50e543065","data":[{"Event":{"_id":{"title":"Union Square Greenmarket","venue_name":"","city":"New York","state":"NY"},"id":ObjectId ("687938d1384bf9134e0139b8"),"city":"New York","cvent_id":null,"cvent_status":null,"date_string":"Monday, Dec 22, 2025 at 8:00am","time_string":"8:00 AM","distance":24.84884066245183,"end":"MongoDate(0.00000000 1766426400)","event_id":74574839,"featured":"","geo":[-73.99700164794922,40.750099182128906],"group_key":"3196869","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"New York, NY","repeat_id":"3196869","search_text":"Union Square Greenmarket, , North and West sides of Union Square Park, New York, seasonnbspyear round market hours mondays wednesdays fridays saturdays locationnbspnorth west sides union square park","sef_tail":"\/event\/union-square-greenmarket-2025-12-22-new-york-ny.html","start":"MongoDate(0.00000000 1766390400)","state":"NY","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations","2025-updated"],"title":"Union Square Greenmarket","town_sef_url":"new-york-ny","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1766563200)","date_string":"Wednesday, Dec 24, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-24-new-york-ny.html"},"2":{"start":"MongoDate(0.00000000 1766736000)","date_string":"Friday, Dec 26, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-26-new-york-ny.html"},"3":{"start":"MongoDate(0.00000000 1766822400)","date_string":"Saturday, Dec 27, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-27-new-york-ny.html"},"4":{"start":"MongoDate(0.00000000 1766995200)","date_string":"Monday, Dec 29, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-29-new-york-ny.html"}}}},{"Event":{"_id":{"title":"Historic Downtown Jersey City Farmers Market","venue_name":"","city":"Jersey City","state":"NJ"},"id":ObjectId ("687938d3384bf9134e014285"),"city":"Jersey City","cvent_id":null,"cvent_status":null,"date_string":"Monday, Dec 22, 2025 at 3:00pm","time_string":"3:00 PM","distance":22.987855879423808,"end":"MongoDate(0.00000000 1766430000)","event_id":74649233,"featured":"","geo":[-74.05390167236328,40.751800537109375],"group_key":"3198201","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Jersey City, NJ","repeat_id":"3198201","search_text":"Historic Downtown Jersey City Farmers Market, , Grove Street PATH Plaza, Jersey City, season spring summer fall april december mondays thursdays locationnbspgrove street path plaza","sef_tail":"\/event\/historic-downtown-jersey-city-farmers-market-2025-12-22-jersey-city-nj.html","start":"MongoDate(0.00000000 1766415600)","state":"NJ","tags":["farmers-market","step-outside","aarp","clubs-and-organizations"],"title":"Historic Downtown Jersey City Farmers Market","town_sef_url":"jersey-city-nj","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Fort Washington Greenmarket","venue_name":"","city":"New York","state":"NY"},"id":ObjectId ("687938d1384bf9134e0138c6"),"city":"New York","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 23, 2025 at 8:00am","time_string":"8:00 AM","distance":24.84884066245183,"end":"MongoDate(0.00000000 1766505600)","event_id":74574339,"featured":"","geo":[-73.99700164794922,40.750099182128906],"group_key":"3196863","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"New York, NY","repeat_id":"3196863","search_text":"Fort Washington Greenmarket, , 168th Street at Fort Washington Avenue, New York, seasonnbspsummer fall market hours june december tuesdays locationnbspth street fort washington avenue","sef_tail":"\/event\/fort-washington-greenmarket-2025-12-23-new-york-ny.html","start":"MongoDate(0.00000000 1766476800)","state":"NY","tags":["farmers-market","step-outside","aarp","clubs-and-organizations","2025-updated"],"title":"Fort Washington Greenmarket","town_sef_url":"new-york-ny","venue_name":"","dates":[]}}],"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\":41.02870178222656,\"lng\":-74.2969970703125,\"latlng\":\"41.028701782227,-74.296997070312\",\"count\":0}","modified":"MongoDate(0.79700000 1766383827)","created":"MongoDate(0.79700000 1766383827)"} , true) | | 0 | 0 | 4 |