| 6 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-122.5459976196289,47.55569839477539],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.006308033911990311,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1764914400)"}}}},{"$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 | 22 |
| 9 | db.events_cache.insert( {"_id":"1b767d086cf67db682aa2d691fcd28f6","data":[{"Event":{"_id":{"title":"University District Farmers Market","venue_name":"","city":"Seattle","state":"WA"},"id":ObjectId ("687938e2384bf9134e01846b"),"city":"Seattle","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 6, 2025 at 9:00am","time_string":"9:00 AM","distance":10.665975245857188,"end":"MongoDate(0.00000000 1765029600)","event_id":74822953,"featured":"","geo":[-122.33300018310547,47.611698150634766],"group_key":"3201229","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Seattle, WA","repeat_id":"3201229","search_text":"University District Farmers Market, , Corner of University Way NorthEast Between 50th & 52nd Street, Seattle, seasonnbspyear round market hours saturdays locationnbspcorner university northeast between th amp nd street","sef_tail":"\/event\/university-district-farmers-market-2025-12-06-seattle-wa.html","start":"MongoDate(0.00000000 1765011600)","state":"WA","tags":["farmers-market","step-outside","aarp","clubs-and-organizations","2025-updated"],"title":"University District Farmers Market","town_sef_url":"seattle-wa","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765616400)","date_string":"Saturday, Dec 13, 2025 at 9:00am","sef_tail":"\/event\/university-district-farmers-market-2025-12-13-seattle-wa.html"},"2":{"start":"MongoDate(0.00000000 1766221200)","date_string":"Saturday, Dec 20, 2025 at 9:00am","sef_tail":"\/event\/university-district-farmers-market-2025-12-20-seattle-wa.html"},"3":{"start":"MongoDate(0.00000000 1766826000)","date_string":"Saturday, Dec 27, 2025 at 9:00am","sef_tail":"\/event\/university-district-farmers-market-2025-12-27-seattle-wa.html"}}}},{"Event":{"_id":{"title":"Proctor Farmers' Market","venue_name":"","city":"Tacoma","state":"WA"},"id":ObjectId ("687938e2384bf9134e018568"),"city":"Tacoma","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 6, 2025 at 9:00am","time_string":"9:00 AM","distance":21.432082076608012,"end":"MongoDate(0.00000000 1765029600)","event_id":74825564,"featured":"","geo":[-122.44300079345703,47.25379943847656],"group_key":"3201255","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Tacoma, WA","repeat_id":"3201255","search_text":"Proctor Farmers' Market, , North 27th and North Proctor Streets, Tacoma, seasonnbspspring summer fall market hours march december saturdays locationnbspnorth th north proctor streetsnbsp","sef_tail":"\/event\/proctor-farmers-market-2025-12-06-tacoma-wa.html","start":"MongoDate(0.00000000 1765011600)","state":"WA","tags":["farmers-market","step-outside","aarp","clubs-and-organizations","2025-updated"],"title":"Proctor Farmers' Market","town_sef_url":"tacoma-wa","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765616400)","date_string":"Saturday, Dec 13, 2025 at 9:00am","sef_tail":"\/event\/proctor-farmers-market-2025-12-13-tacoma-wa.html"},"2":{"start":"MongoDate(0.00000000 1766221200)","date_string":"Saturday, Dec 20, 2025 at 9:00am","sef_tail":"\/event\/proctor-farmers-market-2025-12-20-tacoma-wa.html"}}}},{"Event":{"_id":{"title":"Poulsbo Farmers Market","venue_name":"","city":"Poulsbo","state":"WA"},"id":ObjectId ("687938e2384bf9134e018339"),"city":"Poulsbo","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 6, 2025 at 10:00am","time_string":"10:00 AM","distance":13.535840970609918,"end":"MongoDate(0.00000000 1765029600)","event_id":74822391,"featured":"","geo":[-122.63300323486328,47.742401123046875],"group_key":"3201207","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Poulsbo, WA","repeat_id":"3201207","search_text":"Poulsbo Farmers Market, , 18901 8th Avenue NE, Poulsbo, seasonnbspspring summer fall market hours march december saturdays am pmnbsp locationnbsp avenue ne","sef_tail":"\/event\/poulsbo-farmers-market-2025-12-06-poulsbo-wa.html","start":"MongoDate(0.00000000 1765015200)","state":"WA","tags":["farmers-market","step-outside","aarp","clubs-and-organizations","2025-updated"],"title":"Poulsbo Farmers Market","town_sef_url":"poulsbo-wa","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1765620000)","date_string":"Saturday, Dec 13, 2025 at 10:00am","sef_tail":"\/event\/poulsbo-farmers-market-2025-12-13-poulsbo-wa.html"}}}}],"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\":47.55569839477539,\"lng\":-122.5459976196289,\"latlng\":\"47.555698394775,-122.54599761963\",\"count\":5}","modified":"MongoDate(0.36000000 1764977547)","created":"MongoDate(0.36000000 1764977547)"} , true) | | 0 | 0 | 3 |