| 8 | db.events.find( {"aggregate":[{"$geoNear":{"near":[-120.47100067138672,34.6609992980957],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.01135446104158256,"spherical":true,"query":{"start":{"$gte":"MongoDate(0.00000000 1766383200)"}}}},{"$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 | 5 | 14 |
| 11 | db.events_cache.insert( {"_id":"7bf1818a89b423e7c7ab46f53eb5a7b1","data":[{"Event":{"_id":{"title":"Orcutt Farmers Market","venue_name":"","city":"Santa Maria","state":"CA"},"id":ObjectId ("68793929384bf9134e02b10c"),"city":"Santa Maria","cvent_id":null,"cvent_status":null,"date_string":"Tuesday, Dec 23, 2025 at 10:00am","time_string":"10:00 AM","distance":12.841551625926865,"end":"MongoDate(0.00000000 1766494800)","event_id":75774640,"featured":"","geo":[-120.40399932861328,34.83829879760742],"group_key":"3199147","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Santa Maria, CA","repeat_id":"3199147","search_text":"Orcutt Farmers Market, , 4852 South Bradley Road, Santa Maria, seasonnbspyear round market hours tuesdays amlocationnbsp south bradley road","sef_tail":"\/event\/orcutt-farmers-market-2025-12-23-santa-maria-ca.html","start":"MongoDate(0.00000000 1766484000)","state":"CA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Orcutt Farmers Market","town_sef_url":"santa-maria-ca","venue_name":"","dates":{"1":{"start":"MongoDate(0.00000000 1767088800)","date_string":"Tuesday, Dec 30, 2025 at 10:00am","sef_tail":"\/event\/orcutt-farmers-market-2025-12-30-santa-maria-ca.html"}}}},{"Event":{"_id":{"title":"San Luis Obispo Farmers Market","venue_name":"","city":"San Luis Obispo","state":"CA"},"id":ObjectId ("687938db384bf9134e016699"),"city":"San Luis Obispo","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 8:00am","time_string":"8:00 AM","distance":42.772629848423094,"end":"MongoDate(0.00000000 1766832300)","event_id":74711133,"featured":"","geo":[-120.65399932861328,35.26089859008789],"group_key":"3199470","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"San Luis Obispo, CA","repeat_id":"3199470","search_text":"San Luis Obispo Farmers Market, , 325 Madonna Road, San Luis Obispo, seasonnbspyear round market hours saturday am locationnbspmadonna road","sef_tail":"\/event\/san-luis-obispo-farmers-market-2025-12-27-san-luis-obispo-ca.html","start":"MongoDate(0.00000000 1766822400)","state":"CA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations","2025-updated"],"title":"San Luis Obispo Farmers Market","town_sef_url":"san-luis-obispo-ca","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Arroyo Grande City Hall Farmer's Market","venue_name":"","city":"Arroyo Grande","state":"CA"},"id":ObjectId ("687938d4384bf9134e0144c2"),"city":"Arroyo Grande","cvent_id":null,"cvent_status":null,"date_string":"Saturday, Dec 27, 2025 at 12:00pm","time_string":"12:00 PM","distance":32.02797259984181,"end":"MongoDate(0.00000000 1766845800)","event_id":74660630,"featured":"","geo":[-120.56400299072266,35.117698669433594],"group_key":"3198503","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Arroyo Grande, CA","repeat_id":"3198503","search_text":"Arroyo Grande City Hall Farmer's Market, , 193 Olohan Alley-between S.Mason & Short Street, Arroyo Grande, seaonnbspyear round market hours saturdays ndash location olohan alleybetween smason amp short sts","sef_tail":"\/event\/arroyo-grande-city-hall-farmers-market-2025-12-27-arroyo-grande-ca.html","start":"MongoDate(0.00000000 1766836800)","state":"CA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Arroyo Grande City Hall Farmer's Market","town_sef_url":"arroyo-grande-ca","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Camino Real Center Farmers Market","venue_name":"","city":"Goleta","state":"CA"},"id":ObjectId ("687938d5384bf9134e014eb3"),"city":"Goleta","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":27.230103226157095,"end":"MongoDate(0.00000000 1766930400)","event_id":74671747,"featured":"","geo":[-120.04000091552734,34.4906005859375],"group_key":"3198729","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Goleta, CA","repeat_id":"3198729","search_text":"Camino Real Center Farmers Market, , 7004 Marketplace Drive, Goleta, seasonnbspyear round market hours sundaysamlocationnbsp marketplace drive","sef_tail":"\/event\/camino-real-center-farmers-market-2025-12-28-goleta-ca.html","start":"MongoDate(0.00000000 1766916000)","state":"CA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations"],"title":"Camino Real Center Farmers Market","town_sef_url":"goleta-ca","venue_name":"","dates":[]}},{"Event":{"_id":{"title":"Route One Farmers Market","venue_name":"","city":"Lompoc","state":"CA"},"id":ObjectId ("687938d6384bf9134e015325"),"city":"Lompoc","cvent_id":null,"cvent_status":null,"date_string":"Sunday, Dec 28, 2025 at 10:00am","time_string":"10:00 AM","distance":2.1219188526119686,"end":"MongoDate(0.00000000 1766930400)","event_id":74678546,"featured":"","geo":[-120.43499755859375,34.65299987792969],"group_key":"3198864","image_url":"https:\/\/cdn-step.americantowns.com\/img\/generic-icon.jpg","location_string":"Lompoc, CA","repeat_id":"3198864","search_text":"Route One Farmers Market, , 3745 Constellation Road, Lompoc, seasonnbspyear round market hours sundays am locationnbsp constellation road","sef_tail":"\/event\/route-one-farmers-market-2025-12-28-lompoc-ca.html","start":"MongoDate(0.00000000 1766916000)","state":"CA","tags":["farmers-market","step-outside","aarp","open-year-round","clubs-and-organizations","2025-updated"],"title":"Route One Farmers Market","town_sef_url":"lompoc-ca","venue_name":"","dates":[]}}],"params":"{\"title\":\"Events Near Lompoc CA\",\"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\":34.6609992980957,\"lng\":-120.47100067138672,\"latlng\":\"34.660999298096,-120.47100067139\",\"count\":2}","modified":"MongoDate(0.26400000 1766435604)","created":"MongoDate(0.26400000 1766435604)"} , true) | | 0 | 0 | 3 |