|
@@ -171,9 +171,8 @@
|
|
Swiftype.resultContainingElement = '#st-results-container';
|
|
Swiftype.resultContainingElement = '#st-results-container';
|
|
Swiftype.attachElement = '#st-search-input';
|
|
Swiftype.attachElement = '#st-search-input';
|
|
Swiftype.renderStyle = "overlay";
|
|
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.
|
|
|
|
- -->
|
|
|
|
|
|
+ // 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"}};
|
|
Swiftype.searchFunctionalBoosts = {"page": {"popularity": "linear"}};
|
|
|
|
|
|
var script = document.createElement('script');
|
|
var script = document.createElement('script');
|