You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 1, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,12 +64,27 @@ The client can be instantiated using the `base_endpoint`, `api_key` and `use_htt
64
64
)
65
65
```
66
66
67
-
Note:
67
+
Notes:
68
68
69
69
The `[api_key]` authenticates requests to the API.
70
70
You can use any key type with the client, however each has a different scope.
71
71
For more information on keys, check out the [documentation](https://swiftype.com/documentation/app-search/api/credentials).
72
72
73
+
The `base_endpoint` must exclude the protocol and include the `api/as/v1` prefix. This can typically be found in the Credentials tab within the App Search Dashboard.
74
+
75
+
Set `use_https` to `True` or `False` depending how your server is configured. Often times it will be `False` when running in development on `localhost` and `True` for production environments.
76
+
77
+
The following is example of a configuration for Elastic Cloud:
When using the [SaaS version available on swiftype.com](https://app.swiftype.com/as) of App Search, you can configure the client using your `host_identifier` instead of the `base_endpoint` parameter.
0 commit comments