Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

Commit 1a80c93

Browse files
authored
Updated signed search key instructions
1 parent f182db0 commit 1a80c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ The `host_identifier` can be found within the [Credentials](https://app.swiftype
401401
Creating a search key that will only search over the body field.
402402

403403
```python
404-
>>> api_key = 'private-mu75psc5egt9ppzuycnc2mc3'
405-
>>> api_key_name = 'my-api-token'
404+
>>> api_key = 'search-xxxxxxxxxxxxxxxxxxxxxxxx'
405+
>>> api_key_name = 'search-key' # This name must match the name of the search key above from your App Search dashboard
406406
>>> signed_search_key = Client.create_signed_search_key(api_key, api_key_name, {'search_fields': { 'body': {}}})
407407
>>> client = Client(
408408
base_endpoint='localhost:3002/api/as/v1',

0 commit comments

Comments
 (0)