| 9 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-75.09980010986328,40.206600189208984],"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 | 61 |
| 12 | db.events_cache.insert( {"_id":"1a86b4989eff3cc5450fc024a5601202","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":7.676295024054701,"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":21.284245805821833,"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":"Cowtown Farmers Market","venue_name":"","city":"Woodstown","state":"NJ"},"id":ObjectId ("687938eb384bf9134e01ae3e"),"city":"Woodstown","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 30, 2025 at 8:00am","time_string":"8:00 AM","distance":40.11223625251184,"end":"MongoDate(0.00000000 1767110400)","event_id":74997673,"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-30-woodstown-nj.html","start":"MongoDate(0.00000000 1767081600)","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":[]}},{"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":7.676295024054701,"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":7.676295024054701,"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 Warminster 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.206600189208984,\"lng\":-75.09980010986328,\"latlng\":\"40.206600189209,-75.099800109863\",\"count\":4}","modified":"MongoDate(0.84400000 1766923526)","created":"MongoDate(0.84400000 1766923526)"} , true) | | 0 | 0 | 3 |