| 1 | db.articles.find( {"aggregate":[{"$geoNear":{"near":[-71.11029815673828,42.42490005493164],"distanceField":"distance","distanceMultiplier":3963.2,"maxDistance":0.012616067823980621,"spherical":true,"query":{"tags":"at-bt-articles-entertainment","state":"MA"}}},{"$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(1765553065665)","$publish_date"]},86400000]},"relevance_score":{"$add":[{"$multiply":["$distance",1]},{"$divide":[{"$subtract":["MongoDB\\BSON\\UTCDateTime(1765553065665)","$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 | 190 |
| 2 | db.events_cache.find( {"_id":"e728f862980995c14629ec286d59b9da"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 2 |
| 3 | db.events_radius_cache.find( {"_id":"324cef538590a9bc3ac95428c544c15c"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | | 0 | 0 | 1 |
| 4 | db.events.count( {"address.town_sef_url":"medford-ma","start":{"$gte":"MongoDate(0.00000000 1765519200)","$lt":"MongoDate(0.00000000 1766124000)"}} ) | | 0 | 5 | 2 |
| 5 | db.events.count( {"geo":{"$geoWithin":{"$center":[[-71.11029815673828,42.42490005493164],0.10144927536231885]}},"start":{"$gte":"MongoDate(0.00000000 1765519200)","$lt":"MongoDate(0.00000000 1766383200)"}} ) | | 0 | 240 | 51 |
| 6 | db.events_radius_cache.count( {"_id":"324cef538590a9bc3ac95428c544c15c"} ) | | 0 | 0 | 1 |
| 7 | db.events_radius_cache.insert( {"_id":"324cef538590a9bc3ac95428c544c15c","radius":7,"modified":"MongoDate(0.94300000 1765553065)","created":"MongoDate(0.94300000 1765553065)"} , true) | | 0 | 0 | 2 |
| 8 | db.events.find( {"start":{"$gte":"MongoDate(0.00000000 1765519200)"},"tags":"arts-and-entertainment","geo":{"$geoWithin":{"$center":[[-71.11029815673828,42.42490005493164],0.10144927536231885]}}}, ["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( 16 ).skip( 0 ) | | 0 | 16 | 10 |
| 9 | db.events_cache.count( {"_id":"e728f862980995c14629ec286d59b9da"} ) | | 0 | 0 | 1 |
| 10 | db.events_cache.count( {"_id":"e728f862980995c14629ec286d59b9da"} ) | | 0 | 0 | 1 |
| 11 | db.events_cache.insert( {"_id":"e728f862980995c14629ec286d59b9da","town_sef_url":"medford-ma","data_key":["693320fc4389be6be56516bd","68a75b5703a70639b6cedee7","693320fc4389be6be565172c","69036ad64389be6be5f5c4de","69036ad64389be6be5f5c54f","68a75b5703a70639b6cee088","68a75b5703a70639b6cee139","68a75b5703a70639b6cee15f","68a75b5703a70639b6cee1a0","68a75b5703a70639b6cee241","69036ad64389be6be5f5c63a","69036ad64389be6be5f5c67d","69036ad64389be6be5f5c723","693320fc4389be6be56518f5","693320fd4389be6be565191b"],"sort_order":{"start":1},"params":"{\"tags\":\"arts-and-entertainment\",\"keyword\":\"\",\"radius\":7,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show\":15,\"show_limit\":3,\"sort\":\"\",\"days\":\"\",\"images\":true,\"max-days\":365,\"max-miles\":45,\"message\":\"[message to follow]\",\"min\":50,\"title\":\"\",\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"data_id\":\"\",\"more\":true,\"type\":\"\",\"autoshowmore\":false,\"link\":\"\",\"showdesc\":\"\",\"rankby\":\"\",\"empty-message\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"searchenddate\":\"\",\"lat\":42.42490005493164,\"lng\":-71.11029815673828,\"latlng\":\"42.424900054932,-71.110298156738\",\"city\":\"Medford\",\"state\":\"MA\",\"theme\":\"\",\"page_type\":\"town\",\"grouped\":false,\"has_next_page\":true}","modified":"MongoDate(0.98300000 1765553065)","created":"MongoDate(0.98300000 1765553065)"} , true) | | 0 | 0 | 2 |