Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-10-24 19:54:06 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2018-10-24 19:54:06 +0300
commitc4fad0eb5d447e056a11ca0d3cc5be94f3ebc7dc (patch)
tree8713a54560213e88369aecb16e010c5eee5eda1d /layouts/docsearch.html
parentf61acf4350bab18dc37a75bc19eabc99e39ab06e (diff)
Algolia DocSearch - ranking results
Diffstat (limited to 'layouts/docsearch.html')
-rw-r--r--layouts/docsearch.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/docsearch.html b/layouts/docsearch.html
index a41c3396..e32108a1 100644
--- a/layouts/docsearch.html
+++ b/layouts/docsearch.html
@@ -7,7 +7,7 @@ var search = docsearch({
inputSelector: '.docsearch',
algoliaOptions: {
// Filter by tags as described in https://github.com/algolia/docsearch-configs/blob/master/configs/gitlab.json
- 'filters': "tags:gitlab OR tags:omnibus OR tags:runner",
+ 'filters': "tags:gitlab<score=3> OR tags:omnibus<score=2> OR tags:runner<score=1>",
// Number of results shown in the search dropdown
'hitsPerPage': 10
},
@@ -23,7 +23,7 @@ var mobileSearch = docsearch({
inputSelector: '.docsearch-mobile',
algoliaOptions: {
// Filter by tags as described in https://github.com/algolia/docsearch-configs/blob/master/configs/gitlab.json
- 'filters': "tags:gitlab OR tags:omnibus OR tags:runner",
+ 'filters': "tags:gitlab<score=3> OR tags:omnibus<score=2> OR tags:runner<score=1>",
// Number of results shown in the search dropdown
'hitsPerPage': 10
},