7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-88.95349884033203,35.35430145263672],"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 | 14 |
10 | db.events_cache.insert( {"_id":"8ed97618c69f85e2fe77ecab01cab14b","data":[{"Event":{"_id":{"title":"Catfish Derby and Riverfest","venue_name":"Tennessee Street Park","city":"Savannah","state":"TN"},"id":ObjectId ("68793952384bf9134e0336cc"),"city":"Savannah","cvent_id":null,"cvent_status":null,"date_string":"Friday, Sep 12, 2025 at 4:00pm","time_string":"4:00 PM","distance":41.05666828957461,"end":"","event_id":75923683,"featured":"","geo":[-88.243138,35.227339],"group_key":"75923683","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Savannah, TN","repeat_id":"","search_text":"Catfish Derby and Riverfest, Tennessee Street Park, 200 Tennessee Street, Savannah, schedule festival will hosted trevor music tennessee street park featuring will barham hannah dasher trea landon gates open pm click here tickets","sef_tail":"\/event\/catfish-derby-and-riverfest-2025-09-12-savannah-tn.html","start":"MongoDate(0.00000000 1757692800)","state":"TN","tags":["seasonal","festival","other-festival","step-outside","september","live-music","outdoor-music","arts-and-entertainment"],"title":"Catfish Derby and Riverfest","town_sef_url":"savannah-tn","venue_name":"Tennessee Street Park","dates":{"1":{"start":"MongoDate(0.00000000 1757764800)","date_string":"Saturday, Sep 13, 2025 at 12:00pm","sef_tail":"\/event\/catfish-derby-and-riverfest-2025-09-13-savannah-tn.html"},"2":{"start":"MongoDate(0.00000000 1757854800)","date_string":"Sunday, Sep 14, 2025 at 1:00pm","sef_tail":"\/event\/catfish-derby-and-riverfest-2025-09-14-savannah-tn.html"}}}},{"Event":{"_id":{"title":"Porchfest","venue_name":"","city":"Jackson","state":"TN"},"id":ObjectId ("68793951384bf9134e03358c"),"city":"Jackson","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Sep 13, 2025 at 4:00pm","time_string":"4:00 PM","distance":19.29420338072761,"end":"MongoDate(0.00000000 1758310200)","event_id":75922114,"featured":"","geo":[-88.81890106201172,35.610801696777344],"group_key":"75922114","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Jackson, TN","repeat_id":"","search_text":"Porchfest, , Wisdom St and Crescent Ave, Jackson, porchfest moving summer avoid july heat give most pleasant evening enjoying incredible music midtown addition great lineup installations this yearporchfest will also feature first ever poetry porch with griot collective west tennessee kids stage music alice jackson theatre guild","sef_tail":"\/event\/porchfest-2025-09-13-jackson-tn.html","start":"MongoDate(0.00000000 1757779200)","state":"TN","tags":["seasonal","festival","other-festival","step-outside","september","live-music","outdoor-music","arts-and-entertainment"],"title":"Porchfest","town_sef_url":"jackson-tn","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Chester County BBQ Festival","venue_name":"Chester County Courthouse","city":"Henderson","state":"TN"},"id":ObjectId ("68793952384bf9134e03369c"),"city":"Henderson","cvent_id":null,"cvent_status":null,"date_string":"Friday, Sep 26, 2025 at 10:00am","time_string":"10:00 AM","distance":18.608283898416854,"end":"MongoDate(0.00000000 1758920400)","event_id":75923575,"featured":"","geo":[-88.6407342,35.440155],"group_key":"3217548","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Henderson, TN","repeat_id":"3217548","search_text":"Chester County BBQ Festival, Chester County Courthouse, 133 E Main Street, Henderson, chester county festival continues annual tradition since festival held each year fourth friday saturday september features bbq live entertainment fried treats activities competitions vendors hendersonchester chamber commercersquolargest fundraising event made possible volunteer committee there admission fee events center around courthouse lawn downtown henderson","sef_tail":"\/event\/chester-county-bbq-festival-2025-09-26-henderson-tn.html","start":"MongoDate(0.00000000 1758880800)","state":"TN","tags":["festival","food-festival","step-outside","september","barbeque","arts-and-entertainment"],"title":"Chester County BBQ Festival","town_sef_url":"henderson-tn","venue_name":"Chester County Courthouse","dates":{"1":{"start":"MongoDate(0.00000000 1758967200)","date_string":"Saturday, Sep 27, 2025 at 10:00am","sef_tail":"\/event\/chester-county-bbq-festival-2025-09-27-henderson-tn.html"}}}}],"params":"{\"title\":\"Upcoming Festivals and Fairs Near Toone TN\",\"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\":35.35430145263672,\"lng\":-88.95349884033203,\"latlng\":\"35.354301452637,-88.953498840332\",\"count\":1}","modified":"MongoDate(0.75900000 1756613115)","created":"MongoDate(0.75900000 1756613115)"} , true) | | 0 | 0 | 2 |