- Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categoriesbug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :R5b9mb:">>bug
Description
Elasticsearch version:
{ "name" : "ip-10-0-0-182", "cluster_name" : "elasticsearch", "cluster_uuid" : "sz3VeuOEQouswel_tRPkgQ", "version" : { "number" : "7.0.0", "build_flavor" : "default", "build_type" : "tar", "build_hash" : "e8ec4fa", "build_date" : "2018-11-21T08:59:17.003329Z", "build_snapshot" : true, "qualified" : "7.0.0-SNAPSHOT", "lucene_version" : "8.0.0", "minimum_wire_compatibility_version" : "6.6.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" } Plugins installed: None
JVM version (java -version):
openjdk version "1.8.0_181" OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-1ubuntu0.18.04.1-b13) OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) OS version (uname -a if on a Unix-like system):
Linux ip-10-0-0-182 4.15.0-1021-aws #21-Ubuntu SMP Tue Aug 28 10:23:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
When using the _msearch API to query frozen indices, the API does not accept the ignore_throttled query parameter at the request level, so it is therefore necessary to set this for each individual query in the request.
Steps to reproduce:
Run this query:
curl -X GET "localhost:9200/*/_msearch?ignore_throttled=false&pre_filter_shard_size=1" -H 'Content-Type: application/json' -d' {} {"query" : {"match_all" : {}}} ' This gives the following response:
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"request [/*/_msearch] contains unrecognized parameter: [ignore_throttled]"}],"type":"illegal_argument_exception","reason":"request [/*/_msearch] contains unrecognized parameter: [ignore_throttled]"},"status":400} Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categoriesbug"" muted="" aria-describedby="MDU6TGFiZWwyMzE3Mw==-tooltip :Ra5q6b:">>bug