For https://github.com/elastic/clients-team/issues/728
(cherry picked from commit 5413eb5f35)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>
8 lines
103 B
Plaintext
8 lines
103 B
Plaintext
[source,js]
|
|
----
|
|
const response = await client.search({
|
|
index: 'books'
|
|
})
|
|
console.log(response)
|
|
----
|