| 6 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-76.87220001220703,39.3286018371582],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766383200)"}}}},{"$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 | 41 |
| 9 | db.events_cache.insert( {"_id":"56f939d417794df261b547bf5e93cfb5","data":[{"Event":{"_id":{"title":"Laurel Dutch Country Farmers Market","venue_name":"","city":"Laurel","state":"MD"},"id":ObjectId ("687938cb384bf9134e01212c"),"city":"Laurel","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 8:00am","time_string":"8:00 AM","distance":15.767326846759216,"end":"MongoDate(0.00000000 1766847600)","event_id":74500686,"featured":"","geo":[-76.88269805908203,39.100799560546875],"group_key":"3195459","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Laurel, MD","repeat_id":"3195459","search_text":"Laurel Dutch Country Farmers Market, , 9701 Fort Meade Road, Laurel, seasonnbspyear round market hours thursday pmfriday pmsaturday locationnbsp fort meade road","sef_tail":"\/event\/laurel-dutch-country-farmers-market-2025-12-27-laurel-md.html","start":"MongoDate(0.00000000 1766822400)","state":"MD","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Laurel Dutch Country Farmers Market","town_sef_url":"laurel-md","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Fells Point Farmers Market","venue_name":"","city":"Baltimore","state":"MD"},"id":ObjectId ("687938ed384bf9134e01b9c3"),"city":"Baltimore","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 8:00am","time_string":"8:00 AM","distance":13.516349620568556,"end":"MongoDate(0.00000000 1766838600)","event_id":75025498,"featured":"","geo":[-76.62349700927734,39.29460144042969],"group_key":"3204240","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Baltimore, MD","repeat_id":"3204240","search_text":"Fells Point Farmers Market, , 800 S. Broadway Street, Baltimore, market hours summer nbsp december saturdays pm locationnbsps broadway street","sef_tail":"\/event\/fells-point-farmers-market-2025-12-27-baltimore-md.html","start":"MongoDate(0.00000000 1766822400)","state":"MD","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Fells Point Farmers Market","town_sef_url":"baltimore-md","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Main Street Farmers and Artists Market","venue_name":"","city":"Gaithersburg","state":"MD"},"id":ObjectId ("687938cb384bf9134e0120be"),"city":"Gaithersburg","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 9:00am","time_string":"9:00 AM","distance":21.526493721364332,"end":"MongoDate(0.00000000 1766840400)","event_id":74500024,"featured":"","geo":[-77.19139862060547,39.13959884643555],"group_key":"3195418","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Gaithersburg, MD","repeat_id":"3195418","search_text":"Main Street Farmers and Artists Market, , Main Street Park and Pavilion - 301 Main Street, Gaithersburg, season year round market hours saturdays am pm location main street park pavilion","sef_tail":"\/event\/main-street-farmers-and-artists-market-2025-12-27-gaithersburg-md.html","start":"MongoDate(0.00000000 1766826000)","state":"MD","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Main Street Farmers and Artists Market","town_sef_url":"gaithersburg-md","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\":39.3286018371582,\"lng\":-76.87220001220703,\"latlng\":\"39.328601837158,-76.872200012207\",\"count\":2}","modified":"MongoDate(0.14300000 1766384756)","created":"MongoDate(0.14300000 1766384756)"} , true) | | 0 | 0 | 3 |