1 | db.sites.find( {"hostname":{"$in":["bestthingsct.com","localword"]}}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 7 |
2 | db.towns.find( {"sef_url":"canton-ct"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
3 | db.pages.find( {"type":"town","slug":{"$in":["news"]},"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.news.find( {"broadcast":{"$in":["usa","canton-ct","ct","hartford-county-ct"]},"tags":{"$in":["public-library-news","gov-news","school-district-news"]}}, [] ).sort( {"publish_date":-1} ).limit( 16 ).skip( 0 ) | | 0 | 16 | 79 |
6 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 2 |
7 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
8 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-72.893798828125,41.82460021972656],"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(1733244887931)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",1]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1733244887931)","$publish_date"]},86400000]}]}}},{"$sort":{"relevance_score":1,"_id":1}},{"$skip":0},{"$limit":6}]}, ["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( 6 ).skip( 0 ) | | 0 | 0 | 6 |
9 | db.modules.find( {"name":"BTS - State Towns"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
10 | db.states.find( {"sef_url":"ct"}, ["name","sef_url","towns"] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
11 | db.modules.find( {"name":"BTS - Ad"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
12 | db.modules.find( {"name":"footer menu"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
13 | db.modules.find( {"name":"BTS - State List"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 1 | 1 |
14 | db.states.find( {"state":{"$nin":["DC"]}}, ["sef_url","name"] ).sort( {"name":1} ).limit( 0 ).skip( 0 ) | | 0 | 50 | 1 |