Skip to content

Commit 63b4b50

Browse files
author
vvo
committed
feat: example now uses the instant_search index
Which has the right facets and a good starting point to build the demo
1 parent 4d2cd5e commit 63b4b50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var instantsearch = require('../');
55
var search = new instantsearch.InstantSearch(
66
'latency',
77
'6be0576ff61c053d5f9a3225e2a90f76',
8-
'bestbuy'
8+
'instant_search'
99
);
1010

1111
search.addWidget(

example/templates/hit.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<img class="media-object" src="{{image}}">
55
</a>
66
<div class="media-body">
7-
<h3 class="pull-right text-right text-info">${{salePrice}}</h3>
7+
<h3 class="pull-right text-right text-info">${{price}}</h3>
88
<h4>{{{_highlightResult.name.value}}}</h4>
9-
<p>{{{_highlightResult.shortDescription.value}}}</p>
9+
<p>{{{_highlightResult.description.value}}}</p>
1010
</div>
1111
</div>
1212
</div>

0 commit comments

Comments
 (0)