7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-72.2510986328125,44.12929916381836],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1756530000)"},"tags":{"$in":["festival","fair","rodeo"]}}}},{"$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 | 3 | 37 |
10 | db.events_cache.insert( {"_id":"205211ebaf8cf6dab3a67131907aa6ab","data":[{"Event":{"_id":{"title":"LebFest","venue_name":"Colburn Park","city":"Lebanon","state":"NH"},"id":ObjectId ("68793953384bf9134e033a43"),"city":"Lebanon","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 20, 2025 at 11:00am","time_string":"11:00 AM","distance":33.63764382273701,"end":"MongoDate(0.00000000 1758380400)","event_id":75927493,"featured":"","geo":[-72.25150299072266,43.643001556396484],"group_key":"75927493","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Lebanon, NH","repeat_id":"","search_text":"LebFest, Colburn Park, 51 North Park Street, Lebanon, lebfest familycentered free community event ages with over booths activities games crafts raffles local vendors music food amp cheese competition featuring restaurants celebrates upper valley great place live raise familyschedule events pmjoin stage colburn park this liveanimal educational presentation wildlife encounters ecology center meet diverse selection animals ldquoimaginary safari around worldrdquomeet whose ancestors lived variety habitats discover their amazing adaptations environmental contributions while considering positively affect human impact become positive stewards until samples goneth annual competitionsample homemade cheese made then vote your favorite winner will receive bragging rights coveted ldquoamp bowlrdquo free tent early taste them alllive entertainment pmin addition animal check line happening bandstand during jason tardy high energy juggling show tricksters band pm vendor booths activities","sef_tail":"\/event\/lebfest-2025-09-20-lebanon-nh.html","start":"MongoDate(0.00000000 1758366000)","state":"NH","tags":["seasonal","festival","other-festival","step-outside","september","live-music","outdoor-music","arts-and-entertainment"],"title":"LebFest","town_sef_url":"lebanon-nh","venue_name":"Colburn Park","dates":[]}},{"Event":{"_id":{"title":"Fall Foliage Festival","venue_name":"","city":"East Burke","state":"VT"},"id":ObjectId ("68793955384bf9134e033f0b"),"city":"East Burke","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 27, 2025 at 10:00am","time_string":"10:00 AM","distance":36.70957890116081,"end":"","event_id":75941778,"featured":"","geo":[-71.92140197753906,44.604801177978516],"group_key":"75941778","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"East Burke, VT","repeat_id":"","search_text":"Fall Foliage Festival, , 114 from the East Burke Fire Station to Darling Park, East Burke, biggest festival year annual fall foliage festival located east burke village green mountain clubhouseeast librarynbsp organized hosted area chamber commerce with assistance from many volunteers local businesses other organizationsnbsp event fundraiser proceeds used help promote provide services members support economic growth communitynbspscheduleam parade starts ambbq burgers dogs veggie sausages morekids games face painting benefit town schoolpm free cream kids pm donated clementinecreamerypony rideshorse drawn wagon ridesfarm animal petting zoocow plop bingo cash prizes purchase squares prior market mikewest burkenbsp chamberfestival info boothnbsp square winner gets half potcraft fair featuring vendorsnbspnbspnbsp nbspraffle crafts vendors booth fest posters beer mugs shirts sweatshirts more sale boothgazebo announcements after parade about am nbsp presentation citizen year awardam junior zookeeper encounter wildlife encounterspm music chickweed gazebo rubber ducky races dishmill brook lyndon rescueeast congregational church route school thaddeus stevens rain shine","sef_tail":"\/event\/fall-foliage-festival-2025-09-27-east-burke-vt.html","start":"MongoDate(0.00000000 1758967200)","state":"VT","tags":["seasonal","festival","other-festival","step-outside","parade","barbeque","live-music","outdoor-music","september","arts-and-entertainment"],"title":"Fall Foliage Festival","town_sef_url":"east-burke-vt","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Bristol Harvest Festival","venue_name":"","city":"Bristol","state":"VT"},"id":ObjectId ("68793955384bf9134e033f11"),"city":"Bristol","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 27, 2025 at 10:00am","time_string":"10:00 AM","distance":40.328362616908244,"end":"MongoDate(0.00000000 1758985200)","event_id":75941789,"featured":"","geo":[-73.0625991821289,44.157798767089844],"group_key":"75941789","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Bristol, VT","repeat_id":"","search_text":"Bristol Harvest Festival, , Bristol Town Green, Bristol, join th annual bristol harvest festival presented addison county chamber with support from recreation department town green will come alive crafters food live musical entertainment bandstand throughout day continue down main street merchant sales local businesses","sef_tail":"\/event\/bristol-harvest-festival-2025-09-27-bristol-vt.html","start":"MongoDate(0.00000000 1758967200)","state":"VT","tags":["seasonal","festival","food-festival","step-outside","september","craft-fair-show","live-music","outdoor-music","arts-and-entertainment"],"title":"Bristol Harvest Festival","town_sef_url":"bristol-vt","venue_name":"","dates":[]}}],"params":"{\"title\":\"Upcoming Festivals and Fairs Near Topsham VT\",\"tags\":{\"$in\":[\"festival\",\"fair\",\"rodeo\"]},\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"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\":44.12929916381836,\"lng\":-72.2510986328125,\"latlng\":\"44.129299163818,-72.251098632812\",\"count\":0}","modified":"MongoDate(0.30100000 1756605124)","created":"MongoDate(0.30100000 1756605124)"} , true) | | 0 | 0 | 2 |