| 8 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-75.5989990234375,40.388099670410156],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766901600)"}}}},{"$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 | 5 | 80 |
| 11 | db.events_cache.insert( {"_id":"82045f0db974793a5d487ec54f878f15","data":[{"Event":{"_id":{"title":"Headhouse Farmers' Market","venue_name":"","city":"Philadelphia","state":"PA"},"id":ObjectId ("687938ce384bf9134e012cb0"),"city":"Philadelphia","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":36.12036907672042,"end":"MongoDate(0.00000000 1766930400)","event_id":74541627,"featured":"","geo":[-75.01429748535156,40.11690139770508],"group_key":"3196348","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Philadelphia, PA","repeat_id":"3196348","search_text":"Headhouse Farmers' Market, , 2nd and Lombard Streets, Philadelphia, seasonnbspyear round market hoursnbsp sundays am locationnbsplombard streets","sef_tail":"\/event\/headhouse-farmers-market-2025-12-28-philadelphia-pa.html","start":"MongoDate(0.00000000 1766916000)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Headhouse Farmers' Market","town_sef_url":"philadelphia-pa","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Quakertown Farmers Market and Flea Market","venue_name":"","city":"Quakertown","state":"PA"},"id":ObjectId ("687938ce384bf9134e012e1e"),"city":"Quakertown","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":13.470315330435918,"end":"MongoDate(0.00000000 1766941200)","event_id":74543638,"featured":"","geo":[-75.35449981689453,40.4453010559082],"group_key":"3196404","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Quakertown, PA","repeat_id":"3196404","search_text":"Quakertown Farmers Market and Flea Market, , 201 Station Road, Quakertown, seasonnbspyear round market hoursnbsp fridays saturdays pmsundays locationnbspstation road quakertown pa","sef_tail":"\/event\/quakertown-farmers-market-and-flea-market-2025-12-28-quakertown-pa.html","start":"MongoDate(0.00000000 1766916000)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Quakertown Farmers Market and Flea Market","town_sef_url":"quakertown-pa","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Lancaster Central Market","venue_name":"","city":"Lancaster","state":"PA"},"id":ObjectId ("687938cd384bf9134e012ac2"),"city":"Lancaster","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 30, 2025 at 6:00am","time_string":"6:00 AM","distance":44.36957521780831,"end":"MongoDate(0.00000000 1767106800)","event_id":74538209,"featured":"","geo":[-76.3219985961914,40.0614013671875],"group_key":"3196319","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Lancaster, PA","repeat_id":"3196319","search_text":"Lancaster Central Market, , 23 North Market Street, Lancaster, seasonnbspyear round market hoursnbsp tuesday friday saturday locationnbspnorth street lancaster pa","sef_tail":"\/event\/lancaster-central-market-2025-12-30-lancaster-pa.html","start":"MongoDate(0.00000000 1767074400)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Lancaster Central Market","town_sef_url":"lancaster-pa","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":36.12036907672042,"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":36.12036907672042,"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 Barto PA\",\"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.388099670410156,\"lng\":-75.5989990234375,\"latlng\":\"40.38809967041,-75.598999023438\",\"count\":1}","modified":"MongoDate(0.11900000 1766902620)","created":"MongoDate(0.11900000 1766902620)"} , true) | | 0 | 0 | 3 |