| 1 | db.towns.find( {"sef_url":"old-mystic-ct"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 8 |
| 2 | db.sites.find( {"hostname":{"$in":["bestthingsct.com","localword"]}}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 8 |
| 3 | db.towns.find( {"sef_url":"terryville-ct"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
| 4 | db.pages.find( {"type":"town","slug":{"$in":["home"]},"site.hostname":"bestthingsct.com"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 5 | db.modules.find( {"name":{"$in":["BTS - Main Header","header script","footer menu","footer script"]}}, [] ).sort( [] ).limit( 0 ).skip( 0 ) | | 0 | 4 | 1 |
| 6 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-73.00080108642578,41.679100036621094],"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(1765008245063)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",10]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1765008245063)","$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 | 11 | 133 |
| 7 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-73.00080108642578,41.679100036621094],"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(1765008245200)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",1]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1765008245200)","$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 | 11 | 99 |
| 8 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 9 | db.events_cache.find( {"_id":"b087f96478a2494127e4186c0936d91e"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 1 |
| 10 | db.events_radius_cache.find( {"_id":"e60b065e3123e9a356bf1dbdefce6dde"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 11 | db.events.find( {"start":{"$gte":"MongoDate(0.00000000 1765000800)"},"tags":"arts-and-entertainment","geo":{"$geoWithin":{"$center":[[-73.00080108642578,41.679100036621094],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 | 8 | 48 |
| 12 | db.events_cache.count( {"_id":"b087f96478a2494127e4186c0936d91e"} ) | | 0 | 0 | 1 |
| 13 | db.events_cache.count( {"_id":"b087f96478a2494127e4186c0936d91e"} ) | | 0 | 0 | 1 |
| 14 | db.events_cache.insert( {"_id":"b087f96478a2494127e4186c0936d91e","town_sef_url":"terryville-ct","data_key":["6914954ae57c2af57402c5d4","68f8c5b9f957a70c3306dd26","68f8ce49bf28de9b07092f5f","68f8c8d952e7405887004340","691491f9ec25c3702a004599","690d0b3ade4ae56f5a42075e","692d9a43de4ae56f5abce2b1"],"sort_order":{"start":1},"params":"{\"show\":7,\"tags\":\"arts-and-entertainment\",\"title\":\"Events around Terryville, 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.679100036621094,\"lng\":-73.00080108642578,\"latlng\":\"41.679100036621,-73.000801086426\",\"city\":\"Terryville\",\"state\":\"CT\",\"theme\":\"BestThingsState\",\"page_type\":\"town\",\"grouped\":false,\"has_next_page\":true}","modified":"MongoDate(0.38600000 1765008245)","created":"MongoDate(0.38600000 1765008245)"} , true) | | 0 | 0 | 1 |
| 15 | db.news.find( {"broadcast":{"$in":["usa","terryville-ct","ct","litchfield-county-ct"]},"tags":{"$in":["public-library-news","gov-news","school-district-news"]}}, [] ).sort( {"publish_date":-1} ).limit( 16 ).skip( 0 ) | | 0 | 2 | 3 |
| 16 | db.places.find( {"geo":{"$near":[-73.00080108642578,41.679100036621094],"$maxDistance":0.7246376811594203},"tags":{"$in":["gold","silver"]},"address.state":"CT"}, [] ).sort( [] ).limit( 10 ).skip( 0 ) | | 0 | 10 | 2 |
| 17 | db.modules.find( {"name":"Ad Event-Place Module-1"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 18 | db.modules.find( {"name":"Ad Event-Place Module-2"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 19 | db.modules.find( {"name":"BTS - State Towns"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 20 | db.states.find( {"sef_url":"ct"}, ["name","sef_url","towns"] ).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.modules.find( {"name":"footer menu"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 23 | db.modules.find( {"name":"BTS - State List"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
| 24 | db.states.find( {"state":{"$nin":["DC"]}}, ["sef_url","name"] ).sort( {"name":1} ).limit( 0 ).skip( 0 ) | | 0 | 50 | 1 |