Skip to content

Can't use asStream with body on v8 but docs say we can #2241

@tomimarkus991

Description

@tomimarkus991

Elasticsearch Version

v8.13

Installed Plugins

@elastic/elasticsearch

Java Version

bundled

OS Version

Darwin ip-192-168-0-21.eu-north-1.compute.internal 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:41:43 PDT 2023; root:xnu-10002.1.13~1/RELEASE_ARM64_T6000 arm64

Problem Description

https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/8.13/as_stream_examples.html

Docs say to use body but there is no body on result.

using regular payload is not working

Steps to Reproduce

try to add asStream to search and use body.

Logs (if relevant)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions