elasticsearch-php icon indicating copy to clipboard operation
elasticsearch-php copied to clipboard

Dest is not a valid parameter for reindex

Open csjoe opened this issue 6 months ago • 0 comments

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

csjoe avatar May 29 '25 09:05 csjoe