| 5 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-75.6572036743164,40.056800842285156],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766296800)"}}}},{"$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 | 29 |
| 8 | db.events_cache.insert( {"_id":"1f255d5afecc125736c79693adb0baf6","data":[{"Event":{"_id":{"title":"Booths Corner Farmers Market","venue_name":"","city":"Garnet Valley","state":"PA"},"id":ObjectId ("687938ce384bf9134e012d3c"),"city":"Garnet Valley","cvent_id":null,"cvent_status":null,"date_string":"Friday, Dec 26, 2025 at 9:00am","time_string":"9:00 AM","distance":18.39088759368839,"end":"MongoDate(0.00000000 1766779200)","event_id":74542106,"featured":"","geo":[-75.44550323486328,39.84619903564453],"group_key":"3196358","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Garnet Valley, PA","repeat_id":"3196358","search_text":"Booths Corner Farmers Market, , 1362 Naamans Creek Road, Garnet Valley, seasonnbspyear round market hours friday ndash pmsaturday locationnbsp naamans creek road","sef_tail":"\/event\/booths-corner-farmers-market-2025-12-26-garnet-valley-pa.html","start":"MongoDate(0.00000000 1766739600)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Booths Corner Farmers Market","town_sef_url":"garnet-valley-pa","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1766826000)","date_string":"Saturday, Dec 27, 2025 at 9:00am","sef_tail":"\/event\/booths-corner-farmers-market-2025-12-27-garnet-valley-pa.html"}}}},{"Event":{"_id":{"title":"Shillington Farmers Market","venue_name":"","city":"Shillington","state":"PA"},"id":ObjectId ("687938ce384bf9134e012ec4"),"city":"Shillington","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 7:00am","time_string":"7:00 AM","distance":22.536331278581336,"end":"MongoDate(0.00000000 1766851200)","event_id":74544023,"featured":"","geo":[-75.92379760742188,40.311100006103516],"group_key":"3196409","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Shillington, PA","repeat_id":"3196409","search_text":"Shillington Farmers Market, , 10 South Summit Avenue, Shillington, seasonnbspyear round market hoursnbsp thursdays fridays pmsaturdays locationnbspsouth summit avenue","sef_tail":"\/event\/shillington-farmers-market-2025-12-27-shillington-pa.html","start":"MongoDate(0.00000000 1766818800)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Shillington Farmers Market","town_sef_url":"shillington-pa","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"New Holland Farmers Market","venue_name":"","city":"New Holland","state":"PA"},"id":ObjectId ("687938f3384bf9134e01d6d0"),"city":"New Holland","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 8:00am","time_string":"8:00 AM","distance":22.463319439257884,"end":"MongoDate(0.00000000 1766840400)","event_id":75094277,"featured":"","geo":[-76.0779037475586,40.099700927734375],"group_key":"3206078","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"New Holland, PA","repeat_id":"3206078","search_text":"New Holland Farmers Market, , South Roberts Avenue, New Holland, seasonnbspyear round market hours saturdays locationnbspsouth roberts avenue","sef_tail":"\/event\/new-holland-farmers-market-2025-12-27-new-holland-pa.html","start":"MongoDate(0.00000000 1766822400)","state":"PA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations","2025-updated"],"title":"New Holland Farmers Market","town_sef_url":"new-holland-pa","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\":40.056800842285156,\"lng\":-75.6572036743164,\"latlng\":\"40.056800842285,-75.657203674316\",\"count\":3}","modified":"MongoDate(0.48800000 1766315955)","created":"MongoDate(0.48800000 1766315955)"} , true) | | 0 | 0 | 2 |