Skip to content
This repository was archived by the owner on May 26, 2019. It is now read-only.

Commit 73a1aa1

Browse files
committed
Updated with a revised search index per Algolia folks
1 parent b3d8b20 commit 73a1aa1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

data/search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
api_key: '70c6f2593b56f14e561a361d1b787a1e'
1+
api_key: '760969ef081fcadc7e0e60faefdb0907'

source/javascripts/app/docsearch.js.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ window.GUIDE_VERSIONS.onReady(function (versions) {
1111
var currentRevision = versions.current;
1212
var apiKey = '<%= data.search.api_key %>';
1313
var inputSelector = '#search-input';
14-
var indexName = 'emberjs';
14+
var indexName = 'emberjs_versions';
1515
var hitsPerPage = 10;
16-
var facetFilters = '(tags:' + currentRevision + ',tags:api)';
16+
var facetFilters = '[["version:' + currentRevision + '","tags:api"]]';
1717

1818
$(window).load(function() {
1919
docsearch({

0 commit comments

Comments
 (0)