diff --git a/docs/theme/docker/layout.html b/docs/theme/docker/layout.html
index 249da9eb2b..e415e97235 100755
--- a/docs/theme/docker/layout.html
+++ b/docs/theme/docker/layout.html
@@ -171,9 +171,8 @@
Swiftype.resultContainingElement = '#st-results-container';
Swiftype.attachElement = '#st-search-input';
Swiftype.renderStyle = "overlay";
-
+ // from https://swiftype.com/questions/how-can-i-make-more-popular-content-rank-higher
+ // Use "page" for now -- they don't subgroup by document type yet.
Swiftype.searchFunctionalBoosts = {"page": {"popularity": "linear"}};
var script = document.createElement('script');