| 8 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-96.65899658203125,33.19770050048828],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766901600)"}}}},{"$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 | 4 | 12 |
| 11 | db.events_cache.insert( {"_id":"f96c305bf16c1f0fb32aad16dc4d40f1","data":[{"Event":{"_id":{"title":"Carrollton Farmers Market","venue_name":"","city":"Carrollton","state":"TX"},"id":ObjectId ("687938cf384bf9134e013013"),"city":"Carrollton","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":21.205983040740946,"end":"MongoDate(0.00000000 1766930400)","event_id":74546902,"featured":"","geo":[-96.89209747314453,32.96139907836914],"group_key":"3196422","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Carrollton, TX","repeat_id":"3196422","search_text":"Carrollton Farmers Market, , Trinity Valley Shopping Center - 2722 N Josey Lane, Carrollton, seasonnbspyear round market hours sundays am locationnbsptrinity valley shopping center nbspnbsp josey lane","sef_tail":"\/event\/carrollton-farmers-market-2025-12-28-carrollton-tx.html","start":"MongoDate(0.00000000 1766916000)","state":"TX","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Carrollton Farmers Market","town_sef_url":"carrollton-tx","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Dallas Farmers Market","venue_name":"","city":"Dallas","state":"TX"},"id":ObjectId ("687938cf384bf9134e013083"),"city":"Dallas","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":29.53586162705502,"end":"MongoDate(0.00000000 1766941200)","event_id":74547168,"featured":"","geo":[-96.79830169677734,32.7869987487793],"group_key":"3196425","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Dallas, TX","repeat_id":"3196425","search_text":"Dallas Farmers Market, , The Shed, 920 South Harwood, Dallas, seasonnbspyear round market hoursnbsp saturdays pmsundays am locationnbspshed south harwood","sef_tail":"\/event\/dallas-farmers-market-2025-12-28-dallas-tx.html","start":"MongoDate(0.00000000 1766916000)","state":"TX","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Dallas Farmers Market","town_sef_url":"dallas-tx","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Flower Mound Farmers Market","venue_name":"","city":"Flower Mound","state":"TX"},"id":ObjectId ("687938f5384bf9134e01db9c"),"city":"Flower Mound","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":28.354169135796234,"end":"MongoDate(0.00000000 1766930400)","event_id":75109529,"featured":"","geo":[-97.0967025756836,33.014400482177734],"group_key":"3196434","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Flower Mound, TX","repeat_id":"3196434","search_text":"Flower Mound Farmers Market, , 4203 River Walk Drive, Flower Mound, seasonnbspyear round market hours sundays am locationnbsp river walk drive","sef_tail":"\/event\/flower-mound-farmers-market-2025-12-28-flower-mound-tx.html","start":"MongoDate(0.00000000 1766916000)","state":"TX","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Flower Mound Farmers Market","town_sef_url":"flower-mound-tx","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Second Saturday Bird Walks","venue_name":"The Heard Natural Science Museum and Wildlife","city":"mckinney","state":"TX"},"id":ObjectId ("68793938384bf9134e02e757"),"city":"mckinney","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Jan 10, 2026 at 8:00am","time_string":"8:00 AM","distance":3.624338159297956,"end":"MongoDate(0.00000000 1768037400)","event_id":75825289,"featured":"","geo":[-96.61640167236328,33.1593017578125],"group_key":"3215457","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"mckinney, TX","repeat_id":"3215457","search_text":"Second Saturday Bird Walks, The Heard Natural Science Museum and Wildlife, 1 Nature Place, mckinney, saturday bird walks intended help beginning intermediate birders with bird spotting identification techniques there also plenty opportunities provided participants questions from experienced prairie woodland wetland habitats included these walks this program typically offered monthly september through june annually these begin promptly last hours general admission free heard museum members optional extended time available participant request sure arrive because come minutes late group have already started their walk click here register","sef_tail":"\/event\/second-saturday-bird-walks-2026-01-10-mckinney-tx.html","start":"MongoDate(0.00000000 1768032000)","state":"TX","tags":["aarp","suggestion-aarp","bird-watching","step-outside","sports-and-recreation"],"title":"Second Saturday Bird Walks","town_sef_url":"mckinney-tx","venue_name":"The Heard Natural Science Museum and Wildlife","dates":[]}}],"params":"{\"title\":\"Events Near Mckinney TX\",\"keyword\":\"\",\"radius\":45,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags\":\"\",\"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\":33.19770050048828,\"lng\":-96.65899658203125,\"latlng\":\"33.197700500488,-96.658996582031\",\"count\":2}","modified":"MongoDate(0.11100000 1766914492)","created":"MongoDate(0.11100000 1766914492)"} , true) | | 0 | 0 | 2 |