1 | db.sites.find( {"hostname":{"$in":["bestthingsct.com","localword"]}}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 7 |
2 | db.towns.find( {"sef_url":"woodstock-valley-ct"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
3 | db.pages.find( {"type":"town","slug":{"$in":["home"]},"site.hostname":"bestthingsct.com"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
4 | db.modules.find( {"name":{"$in":["BTS - Main Header","header script","footer menu","footer script"]}}, [] ).sort( [] ).limit( 0 ).skip( 0 ) | | 0 | 4 | 1 |
5 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-72.07340240478516,41.93989944458008],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.025232135647961243,"spherical":true,"query":{"state":"CT"}}},{"$project":{"title":1,"homepage_title":1,"tags":1,"image_url":1,"distance":1,"page_path":1,"path":1,"article_hostname":1,"text":1,"publish_date":1,"site_canonical":1,"sections.title":1,"sections.geo":1,"sections.text":1}},{"$addFields":{"days_since":{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1725760929052)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",10]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1725760929052)","$publish_date"]},86400000]}]}}},{"$sort":{"relevance_score":1,"_id":1}},{"$skip":0},{"$limit":11}]}, ["article_id","title","homepage_title","tags","image_url","path","article_hostname","sef_tail","page_path","text","publish_date","site_canonical","sections.title","sections.text"] ).sort( {"relevance_score":1,"_id":1} ).limit( 11 ).skip( 0 ) | | 0 | 0 | 6 |
6 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-72.07340240478516,41.93989944458008],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.012616067823980621,"spherical":true,"query":{"state":"CT"}}},{"$project":{"title":1,"homepage_title":1,"tags":1,"image_url":1,"distance":1,"page_path":1,"path":1,"article_hostname":1,"text":1,"publish_date":1,"site_canonical":1,"sections.title":1,"sections.geo":1,"sections.text":1}},{"$addFields":{"days_since":{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1725760929063)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",1]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1725760929063)","$publish_date"]},86400000]}]}}},{"$sort":{"relevance_score":1,"_id":1}},{"$skip":0},{"$limit":11}]}, ["article_id","title","homepage_title","tags","image_url","path","article_hostname","sef_tail","page_path","text","publish_date","site_canonical","sections.title","sections.text"] ).sort( {"relevance_score":1,"_id":1} ).limit( 11 ).skip( 0 ) | | 0 | 0 | 5 |
7 | db.events_cache.find( {"_id":"ffb78a3d125c08ad59292172ed1d168c"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 2 |
8 | db.events_radius_cache.find( {"_id":"c3c41a100e954ae8c40fe8a59b17cf7f"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 1 |
9 | db.events.count( {"address.town_sef_url":"woodstock-valley-ct","start":{"$gte":"MongoDate(0.00000000 1725685200)","$lt":"MongoDate(0.00000000 1726290000)"},"address.state":"CT"} ) | | 0 | 0 | 2 |
10 | db.events.count( {"geo":{"$geoWithin":{"$center":[[-72.07340240478516,41.93989944458008],0.10144927536231885]}},"start":{"$gte":"MongoDate(0.00000000 1725685200)","$lt":"MongoDate(0.00000000 1726549200)"},"address.state":"CT"} ) | | 0 | 0 | 4 |
11 | db.events.count( {"geo":{"$geoWithin":{"$center":[[-72.07340240478516,41.93989944458008],0.21739130434782608]}},"start":{"$gte":"MongoDate(0.00000000 1725685200)","$lt":"MongoDate(0.00000000 1726549200)"},"address.state":"CT"} ) | | 0 | 0 | 2 |
12 | db.events_radius_cache.count( {"_id":"c3c41a100e954ae8c40fe8a59b17cf7f"} ) | | 0 | 0 | 1 |
13 | db.events_radius_cache.count( {"_id":"c3c41a100e954ae8c40fe8a59b17cf7f"} ) | | 0 | 0 | 1 |
14 | db.events_radius_cache.insert( {"_id":"c3c41a100e954ae8c40fe8a59b17cf7f","radius":25,"modified":"MongoDate(0.10700000 1725760929)","created":"MongoDate(0.10700000 1725760929)"} , true) | | 0 | 0 | 1 |
15 | db.events.find( {"start":{"$gte":"MongoDate(0.00000000 1725685200)"},"tags":"arts-and-entertainment","geo":{"$geoWithin":{"$center":[[-72.07340240478516,41.93989944458008],0.36231884057971014]}},"address.state":"CT"}, ["location_string","event_id","partner_id","address","sef_tail","tags","title","start","end","date_string","time_string","image_url","group_id","group_name","group_sef_tail","venue_name"] ).sort( {"start":1} ).limit( 8 ).skip( 0 ) | | 0 | 0 | 2 |
16 | db.events_cache.count( {"_id":"ffb78a3d125c08ad59292172ed1d168c"} ) | | 0 | 0 | 1 |
17 | db.events_cache.count( {"_id":"ffb78a3d125c08ad59292172ed1d168c"} ) | | 0 | 0 | 1 |
18 | db.events_cache.insert( {"_id":"ffb78a3d125c08ad59292172ed1d168c","town_sef_url":"woodstock-valley-ct","data_key":[],"sort_order":{"start":1},"params":"{\"show\":7,\"tags\":\"arts-and-entertainment\",\"title\":\"Events around Woodstock Valley, CT\",\"keyword\":\"\",\"radius\":25,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show_limit\":3,\"sort\":\"\",\"days\":\"\",\"images\":true,\"max-days\":365,\"max-miles\":45,\"message\":\"[message to follow]\",\"min\":50,\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"data_id\":\"\",\"more\":true,\"type\":\"\",\"autoshowmore\":false,\"link\":\"\",\"showdesc\":\"\",\"rankby\":\"\",\"empty-message\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"searchenddate\":\"\",\"lat\":41.93989944458008,\"lng\":-72.07340240478516,\"latlng\":\"41.93989944458,-72.073402404785\",\"city\":\"Woodstock Valley\",\"state\":\"CT\",\"theme\":\"BestThingsState\",\"page_type\":\"town\",\"grouped\":false,\"has_next_page\":false}","modified":"MongoDate(0.12300000 1725760929)","created":"MongoDate(0.12300000 1725760929)"} , true) | | 0 | 0 | 1 |
19 | db.news.find( {"broadcast":{"$in":["usa","woodstock-valley-ct","ct","windham-county-ct"]},"tags":{"$in":["public-library-news","gov-news","school-district-news"]}}, [] ).sort( {"publish_date":-1} ).limit( 16 ).skip( 0 ) | | 0 | 16 | 4 |
20 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
21 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
22 | db.places.find( {"geo":{"$near":[-72.07340240478516,41.93989944458008],"$maxDistance":0.7246376811594203},"tags":{"$in":["gold","silver"]},"address.state":"CT"}, [] ).sort( [] ).limit( 10 ).skip( 0 ) | | 0 | 10 | 82 |
23 | db.modules.find( {"name":"Ad Event-Place Module-1"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
24 | db.modules.find( {"name":"Ad Event-Place Module-2"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
25 | db.modules.find( {"name":"BTS - State Towns"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
26 | db.states.find( {"sef_url":"ct"}, ["name","sef_url","towns"] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
27 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
28 | db.modules.find( {"name":"footer menu"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
29 | db.modules.find( {"name":"BTS - State List"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
30 | db.states.find( {"state":{"$nin":["DC"]}}, ["sef_url","name"] ).sort( {"name":1} ).limit( 0 ).skip( 0 ) | | 0 | 50 | 1 |