1
0
Fork 0

Add appId to Algolia options

For when someone is running their own crawler.

Came up here: https://discourse.algolia.com/t/couldnt-get-docsearch-to-work/1286/2
This commit is contained in:
Josh Dzielak 2017-05-11 09:40:57 +02:00 committed by GitHub
parent bcb7efee68
commit a2d9f93cc3

View file

@ -205,6 +205,7 @@ the `algoliaOptions` parameter.
```javascript
docsearch({
appId: '<APP_ID>', // if you are running the crawler yourself
apiKey: '<API_KEY>',
indexName: '<INDEX_NAME>',
inputSelector: '<YOUR_INPUT_DOM_SELECTOR>',