| 6 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-73.61309814453125,40.74919891357422],"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 | 69 |
| 9 | db.events_cache.insert( {"_id":"245fa81575d9fb056e23955940485d88","data":[{"Event":{"_id":{"title":"Union Square Greenmarket","venue_name":"","city":"New York","state":"NY"},"id":ObjectId ("687938d1384bf9134e0139ae"),"city":"New York","cvent_id":null,"cvent_status":null,"date_string":"Friday, Dec 5, 2025 at 8:00am","time_string":"8:00 AM","distance":20.117284219125853,"end":"MongoDate(0.00000000 1764957600)","event_id":74574829,"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-05-new-york-ny.html","start":"MongoDate(0.00000000 1764921600)","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 1765008000)","date_string":"Saturday, Dec 6, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-06-new-york-ny.html"},"2":{"start":"MongoDate(0.00000000 1765180800)","date_string":"Monday, Dec 8, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-08-new-york-ny.html"},"3":{"start":"MongoDate(0.00000000 1765353600)","date_string":"Wednesday, Dec 10, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-10-new-york-ny.html"},"4":{"start":"MongoDate(0.00000000 1765526400)","date_string":"Friday, Dec 12, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-12-new-york-ny.html"},"5":{"start":"MongoDate(0.00000000 1765612800)","date_string":"Saturday, Dec 13, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-13-new-york-ny.html"},"6":{"start":"MongoDate(0.00000000 1765785600)","date_string":"Monday, Dec 15, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-15-new-york-ny.html"},"7":{"start":"MongoDate(0.00000000 1765958400)","date_string":"Wednesday, Dec 17, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-17-new-york-ny.html"},"8":{"start":"MongoDate(0.00000000 1766131200)","date_string":"Friday, Dec 19, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-19-new-york-ny.html"},"9":{"start":"MongoDate(0.00000000 1766217600)","date_string":"Saturday, Dec 20, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-20-new-york-ny.html"},"10":{"start":"MongoDate(0.00000000 1766390400)","date_string":"Monday, Dec 22, 2025 at 8:00am","sef_tail":"\/event\/union-square-greenmarket-2025-12-22-new-york-ny.html"},"11":{"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"},"12":{"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"},"13":{"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"},"14":{"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":"97th Street Greenmarket","venue_name":"","city":"New York","state":"NY"},"id":ObjectId ("687938fc384bf9134e01f70f"),"city":"New York","cvent_id":null,"cvent_status":null,"date_string":"Friday, Dec 5, 2025 at 8:00am","time_string":"8:00 AM","distance":20.117284219125853,"end":"MongoDate(0.00000000 1764943200)","event_id":75233947,"featured":"","geo":[-73.99700164794922,40.750099182128906],"group_key":"3208791","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"New York, NY","repeat_id":"3208791","search_text":"97th Street Greenmarket, , 97th Street between Columbus and Amsterdam, New York, seasonnbspyear round market hours fridays locationnbspth street between columbus amsterdam","sef_tail":"\/event\/97th-street-greenmarket-2025-12-05-new-york-ny.html","start":"MongoDate(0.00000000 1764921600)","state":"NY","tags":["farmers-market","step-outside","aarp","clubs-and-organizations","2025-updated"],"title":"97th Street Greenmarket","town_sef_url":"new-york-ny","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765526400)","date_string":"Friday, Dec 12, 2025 at 8:00am","sef_tail":"\/event\/97th-street-greenmarket-2025-12-12-new-york-ny.html"},"2":{"start":"MongoDate(0.00000000 1766131200)","date_string":"Friday, Dec 19, 2025 at 8:00am","sef_tail":"\/event\/97th-street-greenmarket-2025-12-19-new-york-ny.html"}}}},{"Event":{"_id":{"title":"Seaford Farmers' Market","venue_name":"","city":"Seaford","state":"NY"},"id":ObjectId ("6879393d384bf9134e02f7ee"),"city":"Seaford","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 6, 2025 at 7:00am","time_string":"7:00 AM","distance":7.832453930800812,"end":"MongoDate(0.00000000 1765022400)","event_id":75847366,"featured":"","geo":[-73.48470306396484,40.69129943847656],"group_key":"3215814","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Seaford, NY","repeat_id":"3215814","search_text":"Seaford Farmers' Market, , Railroad Street, Seaford, seasonnbspsummer fall market hours june december saturdays locationnbsprailroad street east parking seaford railroad station corner washington avenue sunrise highway","sef_tail":"\/event\/seaford-farmers-market-2025-12-06-seaford-ny.html","start":"MongoDate(0.00000000 1765004400)","state":"NY","tags":["farmers-market","step-outside","aarp","clubs-and-organizations"],"title":"Seaford Farmers' Market","town_sef_url":"seaford-ny","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765609200)","date_string":"Saturday, Dec 13, 2025 at 7:00am","sef_tail":"\/event\/seaford-farmers-market-2025-12-13-seaford-ny.html"},"2":{"start":"MongoDate(0.00000000 1766214000)","date_string":"Saturday, Dec 20, 2025 at 7:00am","sef_tail":"\/event\/seaford-farmers-market-2025-12-20-seaford-ny.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\":40.74919891357422,\"lng\":-73.61309814453125,\"latlng\":\"40.749198913574,-73.613098144531\",\"count\":8}","modified":"MongoDate(0.12500000 1764974640)","created":"MongoDate(0.12500000 1764974640)"} , true) | | 0 | 0 | 3 |