Skip to content

Commit

Permalink
Fixed docs + comments in Client
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Jun 23, 2022
1 parent 9351bd6 commit ac761ea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/guide/release_notes/715.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
=== 7.15 Release notes

[discrete]
[[release_notes_7151]]
[[release_notes_7150]]
=== 7.15.0 Release notes

Release created to be compatible with the **7.15** API of https://www.elastic.co/enterprise-search[Enterprise Search], https://www.elastic.co/app-search/[App Search] and https://www.elastic.co/workplace-search[Workplace Search].
2 changes: 1 addition & 1 deletion docs/guide/release_notes/80.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This major release includes the following changes:

- License changed from Apache-2.0 to MIT

- Usage of the `elastic-transport-php` version 8.x
- Usage of the `elastic-transport-php` version 8.x, https://github.com/elastic/elastic-transport-php/blob/master/CHANGELOG.md[here the CHANGELOG]

We didn't change the existing API architecture of the client, if you notice
something you can open an https://github.com/elastic/enterprise-search-php/issues[issue on github], thanks!
Expand Down
8 changes: 6 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,14 @@ class Client
* 'password' => 'insert password here'
* ],
* 'app-search' => [
* 'token' => 'insert token or API key here'
* 'token' => 'insert token from Elasticsearch',
* // or
* 'apiKey' => 'insert API key from App Search Credentials'
* ],
* 'workplace-search' => [
* 'token' => 'insert token or API key here'
* 'token' => 'insert token or API key here',
* // or
* 'apiKey' => 'insert API key from Workplace Search API key or OAuth'
* ]
* ];
*/
Expand Down

0 comments on commit ac761ea

Please sign in to comment.