| 8 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-74.50029754638672,40.63140106201172],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766988000)"}}}},{"$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":15}]}, [] ).sort( {"start":1,"id":1} ).limit( 15 ).skip( 0 ) | | 0 | 4 | 68 |
| 11 | db.events_cache.insert( {"_id":"65db45957b9756aa8cd9580accc9d3d8","data":[{"Event":{"_id":{"title":"Union Square Greenmarket","venue_name":"","city":"New York","state":"NY"},"id":ObjectId ("687938d1384bf9134e0139bc"),"city":"New York","cvent_id":null,"cvent_status":null,"date_string":"Monday, Dec 29, 2025 at 8:00am","time_string":"8:00 AM","distance":27.64427783845026,"end":"MongoDate(0.00000000 1767031200)","event_id":74574843,"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-29-new-york-ny.html","start":"MongoDate(0.00000000 1766995200)","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":[]}},{"Event":{"_id":{"title":"Brooklyn Borough Hall Greenmarket","venue_name":"","city":"Brooklyn","state":"NY"},"id":ObjectId ("687938d0384bf9134e0136e1"),"city":"Brooklyn","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 30, 2025 at 8:00am","time_string":"8:00 AM","distance":27.082512736098323,"end":"MongoDate(0.00000000 1767106800)","event_id":74564748,"featured":"","geo":[-73.99099731445312,40.69499969482422],"group_key":"3196790","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Brooklyn, NY","repeat_id":"3196790","search_text":"Brooklyn Borough Hall Greenmarket, , Court Street and Montague Street, Brooklyn, seasonnbspyear round market hours tuesdays saturdays locationnbspcourt street montague","sef_tail":"\/event\/brooklyn-borough-hall-greenmarket-2025-12-30-brooklyn-ny.html","start":"MongoDate(0.00000000 1767081600)","state":"NY","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Brooklyn Borough Hall Greenmarket","town_sef_url":"brooklyn-ny","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Rittenhouse Farmers Market","venue_name":"","city":"Philadelphia","state":"PA"},"id":ObjectId ("687938ce384bf9134e012ce9"),"city":"Philadelphia","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 30, 2025 at 10:00am","time_string":"10:00 AM","distance":44.723235429603626,"end":"MongoDate(0.00000000 1767103200)","event_id":74541747,"featured":"","geo":[-75.01429748535156,40.11690139770508],"group_key":"3196350","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Philadelphia, PA","repeat_id":"3196350","search_text":"Rittenhouse Farmers Market, , 18th and Walnut Streets, Philadelphia, seasonnbspyear round market hours tuesdays locationnbspth walnut streets","sef_tail":"\/event\/rittenhouse-farmers-market-2025-12-30-philadelphia-pa.html","start":"MongoDate(0.00000000 1767088800)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Rittenhouse Farmers Market","town_sef_url":"philadelphia-pa","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Frankfort Transportation Center Farmers Market","venue_name":"","city":"Philadelphia","state":"PA"},"id":ObjectId ("687938ce384bf9134e012c94"),"city":"Philadelphia","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 30, 2025 at 2:00pm","time_string":"2:00 PM","distance":44.723235429603626,"end":"MongoDate(0.00000000 1767117600)","event_id":74541563,"featured":"","geo":[-75.01429748535156,40.11690139770508],"group_key":"3196347","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Philadelphia, PA","repeat_id":"3196347","search_text":"Frankfort Transportation Center Farmers Market, , Bustleton and Frankford Avenues, Philadelphia, season year round market hours tuesdays locationnbspbustleton frankford avenues","sef_tail":"\/event\/frankfort-transportation-center-farmers-market-2025-12-30-philadelphia-pa.html","start":"MongoDate(0.00000000 1767103200)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Frankfort Transportation Center Farmers Market","town_sef_url":"philadelphia-pa","venue_name":"","dates":[]}}],"params":"{\"title\":\"Events Near Warren NJ\",\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show\":15,\"show_limit\":3,\"sort\":\"\",\"days\":365,\"images\":\"yes\",\"max-days\":365,\"max-miles\":45,\"message\":\"\",\"min\":20,\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"more\":\"yes\",\"autoshowmore\":\"no\",\"link\":\"\",\"showdesc\":\"yes\",\"rankby\":\"distance\",\"type\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"lat\":40.63140106201172,\"lng\":-74.50029754638672,\"latlng\":\"40.631401062012,-74.500297546387\",\"count\":0}","modified":"MongoDate(0.35600000 1767013536)","created":"MongoDate(0.35600000 1767013536)"} , true) | | 0 | 0 | 3 |