1 | db.sites.find( {"hostname":{"$in":["bestthingsct.com","localword"]}}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 7 |
2 | db.towns.find( {"sef_url":"stafford-springs-ct"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
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 | 2 |
5 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-72.3030014038086,41.95370101928711],"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(1732170531426)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",10]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1732170531426)","$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.3030014038086,41.95370101928711],"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(1732170531437)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",1]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1732170531437)","$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":"cbe80af7d16ab095a48f978f89df8039"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 1 |
8 | db.events_radius_cache.find( {"_id":"551c61fd2181b01568845e1a7c0cb152"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
9 | db.events.find( {"start":{"$gte":"MongoDate(0.00000000 1732168800)"},"tags":"arts-and-entertainment","geo":{"$geoWithin":{"$center":[[-72.3030014038086,41.95370101928711],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 | 3 |
10 | db.events_cache.count( {"_id":"cbe80af7d16ab095a48f978f89df8039"} ) | | 0 | 0 | 1 |
11 | db.events_cache.count( {"_id":"cbe80af7d16ab095a48f978f89df8039"} ) | | 0 | 0 | 1 |
12 | db.events_cache.insert( {"_id":"cbe80af7d16ab095a48f978f89df8039","town_sef_url":"stafford-springs-ct","data_key":[],"sort_order":{"start":1},"params":"{\"show\":7,\"tags\":\"arts-and-entertainment\",\"title\":\"Events around Stafford Springs, 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.95370101928711,\"lng\":-72.3030014038086,\"latlng\":\"41.953701019287,-72.303001403809\",\"city\":\"Stafford Springs\",\"state\":\"CT\",\"theme\":\"BestThingsState\",\"page_type\":\"town\",\"grouped\":false,\"has_next_page\":false}","modified":"MongoDate(0.47500000 1732170531)","created":"MongoDate(0.47500000 1732170531)"} , true) | | 0 | 0 | 2 |
13 | db.news.find( {"broadcast":{"$in":["usa","stafford-springs-ct","ct","tolland-county-ct"]},"tags":{"$in":["public-library-news","gov-news","school-district-news"]}}, [] ).sort( {"publish_date":-1} ).limit( 16 ).skip( 0 ) | | 0 | 16 | 4 |
14 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
15 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
16 | db.places.find( {"geo":{"$near":[-72.3030014038086,41.95370101928711],"$maxDistance":0.7246376811594203},"tags":{"$in":["gold","silver"]},"address.state":"CT"}, [] ).sort( [] ).limit( 10 ).skip( 0 ) | | 0 | 10 | 80 |
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 | 3 |
19 | db.modules.find( {"name":"BTS - State Towns"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
20 | db.states.find( {"sef_url":"ct"}, ["name","sef_url","towns"] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
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 | 2 |