Skip to content

Dest is not a valid parameter for reindex #1452

Open
@csjoe

Description

@csjoe

When using the Reindex API with the dest parameter I'm getting the following error:
"dest" is not a valid parameter. Allowed parameters are "error_trace", "filter_path", "human", "max_docs", "opaqueId", "pretty", "refresh", "requests_per_second", "scroll", "slices", "source", "timeout", "wait_for_active_shards", "wait_for_completion"

Dest is a valid parameter. See docs:
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-reindex

Suggested solution:
Add "dest" to the whitelist here:
\Elasticsearch\Endpoints\Reindex::getParamWhitelist

I'm using elasticsearch-php version 7.17

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