Unrecognized parameter: wait_for_merge

```
curl -XPOST 'http://es:9200/index/_forcemerge?flush=true&wait_for_merge=true&ignore_unavailable=true&max_num_segments=1'
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/lindex/_forcemerge] contains unrecognized parameter: [wait_for_merge]"}],"type":"illegal_argument_exception","reason":"request [/index/_forcemerge] contains unrecognized parameter: [wait_for_merge]"},"status":400}
```
This commit is contained in:
Patryk Krawaczyński
2017-11-03 14:57:56 +01:00
committed by GitHub
parent 961f6b54b3
commit b79364f0b8
-2
View File
@@ -817,8 +817,6 @@ class IndicesClient(NamespacedClient):
:arg only_expunge_deletes: Specify whether the operation should only
expunge deleted documents
:arg operation_threading: TODO: ?
:arg wait_for_merge: Specify whether the request should block until the
merge process is finished (default: true)
"""
return self.transport.perform_request('POST', _make_path(index,
'_forcemerge'), params=params)