Skip to content

DeprecationWarning: The 'body' parameter is deprecated for the 'search' API #447

@th0ger

Description

@th0ger

Eland throws:

/lib/python3.8/site-packages/eland/operations.py:1649: DeprecationWarning: The 'body' parameter is deprecated for the 'search' API and will be removed in a future version. Instead use API parameters directly. See elastic/elasticsearch-py#1698 for more information
resp = client.search(body=body)

Please use es.search(query={...}) instead of es.search(body={"query": {...}}) according to elastic/elasticsearch-py#1698.

eland version 7.14.0b1

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic:dataframeIssue or PR about eland.DataFrame

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions