Commit Graph

9 Commits

Author SHA1 Message Date
45e3c0657a Update asStream code example (#2242)
https://github.com/elastic/elasticsearch-js/issues/2241 notes that there
is no body attribute on a response. This is mostly just a typo in the
example, as `result` itself is a readable stream, unless `meta: true` is
passed, in which case `result.body` will be a readable stream.

Also dropped the callback-style stream processing example as it's a bit
outdated.
2024-04-30 13:17:45 -05:00
eac00e1200 Update connecting documentation (#1666) 2022-03-28 12:22:47 +02:00
759138c375 Update docs for v8 (#1572) 2022-02-11 10:23:07 +01:00
9fa1e12bd3 [DOCS] Rearranges Examples section in Node.JS book (#1425) 2021-03-29 11:15:21 +02:00
ab5d8997b8 Remove Node.js v8 support (#1402) 2021-02-19 08:27:20 +01:00
4b54013248 [DOCS] Fine-tunes the Node.Js client Typescript and examples se… (#1078)
* [DOCS] Fine-tunes the Node.Js client Typescript and examples sections.

* [DOCS] Fixes merge conflict.
2020-02-03 17:48:13 +01:00
aea1ecfe15 Handle bulk errors in examples 2019-04-01 09:08:32 +02:00
ad6f56c3f1 Doc updates (#791)
Updates for better displaying the documentation in the website.
2019-03-27 07:44:19 +01:00
51ac759167 Updated docs 2019-02-15 18:36:28 +01:00