7 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-87.04149627685547,40.75849914550781],"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 | 2 | 44 |
10 | db.events_cache.insert( {"_id":"a0c254ca316673e4781c4736f23b250d","data":[{"Event":{"_id":{"title":"National Sweetcorn Festival","venue_name":"","city":"Hoopeston","state":"IL"},"id":ObjectId ("68793953384bf9134e033852"),"city":"Hoopeston","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Aug 30, 2025 at 6:00am","time_string":"6:00 AM","distance":38.688798144755005,"end":"","event_id":75925872,"featured":"","geo":[-87.66999816894531,40.46659851074219],"group_key":"75925872","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Hoopeston, IL","repeat_id":"","search_text":"National Sweetcorn Festival, , Various Venue, Hoopeston, schedule flea market opens bill memorial registration mile runwalk mainmarket show southeast corner mcferren park little corn eaters gates open grand parade downtown midway vendor food area carnival ride session ashton root canals center stage souvenir amp sales free sweetcorn awards grandstand beer tent afro global soundwaves demolition derby annex national sweetheart pageant preliminary competition civic closes","sef_tail":"\/event\/national-sweetcorn-festival-2025-08-30-hoopeston-il.html","start":"MongoDate(0.00000000 1756533600)","state":"IL","tags":["seasonal","festival","food-festival","step-outside","august","fun-run","running","walking","5ks","auto-event","auto-show","parade","carnival","arts-and-entertainment"],"title":"National Sweetcorn Festival","town_sef_url":"hoopeston-il","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1756627200)","date_string":"Sunday, Aug 31, 2025 at 8:00am","sef_tail":"\/event\/national-sweetcorn-festival-2025-08-31-hoopeston-il.html"},"2":{"start":"MongoDate(0.00000000 1756713600)","date_string":"Monday, Sep 1, 2025 at 8:00am","sef_tail":"\/event\/national-sweetcorn-festival-2025-09-01-hoopeston-il.html"}}}},{"Event":{"_id":{"title":"Lowell Labor Day Festival","venue_name":"American Legion Grounds","city":"Lowell","state":"IN"},"id":ObjectId ("68793953384bf9134e033a7d"),"city":"Lowell","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Aug 30, 2025 at 8:00am","time_string":"8:00 AM","distance":41.56856688183725,"end":"","event_id":75930188,"featured":"","geo":[-87.42140197753906,41.28670120239258],"group_key":"75930188","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Lowell, IN","repeat_id":"","search_text":"Lowell Labor Day Festival, American Legion Grounds, 101 West Oakley Avenue, Lowell, event schedule saturday august thnbsp tricreek runwalk oakley avenuenbsp pmnbsp food vendors amp beer garden craft direct sales kidz zone unlimited wristband under soft play only under switch gaming truck only free dino fossils puppets animatronic ride live musicnbsp ashlynnbspnbsp smalltown john cougar mellencamp tribute hair band nightnbsp","sef_tail":"\/event\/lowell-labor-day-festival-2025-08-30-lowell-in.html","start":"MongoDate(0.00000000 1756540800)","state":"IN","tags":["festival","seasonal","other-festival","august","5ks","running","walking","live-music","outdoor-music","step-outside","arts-and-entertainment"],"title":"Lowell Labor Day Festival","town_sef_url":"lowell-in","venue_name":"American Legion Grounds","dates":{"1":{"start":"MongoDate(0.00000000 1756634400)","date_string":"Sunday, Aug 31, 2025 at 10:00am","sef_tail":"\/event\/lowell-labor-day-festival-2025-08-31-lowell-in.html"},"2":{"start":"MongoDate(0.00000000 1756720800)","date_string":"Monday, Sep 1, 2025 at 10:00am","sef_tail":"\/event\/lowell-labor-day-festival-2025-09-01-lowell-in.html"}}}}],"params":"{\"title\":\"Upcoming Festivals and Fairs Near Wolcott IN\",\"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\":40.75849914550781,\"lng\":-87.04149627685547,\"latlng\":\"40.758499145508,-87.041496276855\",\"count\":0}","modified":"MongoDate(0.02200000 1756603945)","created":"MongoDate(0.02200000 1756603945)"} , true) | | 0 | 0 | 2 |