{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/20060","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20060/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20060/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20060/events","html_url":"https://github.com/elastic/elasticsearch/issues/20060","id":171940899,"number":20060,"title":"Query fails with \"[No query registered for [filter]]\" when run from Java client","user":{"login":"sorokod","id":414370,"avatar_url":"https://avatars.githubusercontent.com/u/414370?v=3","gravatar_id":"","url":"https://api.github.com/users/sorokod","html_url":"https://github.com/sorokod","followers_url":"https://api.github.com/users/sorokod/followers","following_url":"https://api.github.com/users/sorokod/following{/other_user}","gists_url":"https://api.github.com/users/sorokod/gists{/gist_id}","starred_url":"https://api.github.com/users/sorokod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorokod/subscriptions","organizations_url":"https://api.github.com/users/sorokod/orgs","repos_url":"https://api.github.com/users/sorokod/repos","events_url":"https://api.github.com/users/sorokod/events{/privacy}","received_events_url":"https://api.github.com/users/sorokod/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-18T16:13:42Z","updated_at":"2016-08-19T11:54:43Z","closed_at":"2016-08-19T07:33:59Z","body":"<!--\r\nGitHub is reserved for bug reports and feature requests. The best place\r\nto ask a general question is at the Elastic Discourse forums at\r\nhttps://discuss.elastic.co. If you are in fact posting a bug report or\r\na feature request, please include one and only one of the below blocks\r\nin your new issue. Note that whether you're filing a bug report or a\r\nfeature request, ensure that your submission is for an\r\n[OS that we support](https://www.elastic.co/support/matrix#show_os).\r\nBug reports on an OS that we do not support or feature requests\r\nspecific to an OS that we do not support will be closed.\r\n-->\r\n\r\n<!--\r\nIf you are filing a bug report, please remove the below feature\r\nrequest block and provide responses for all of the below items.\r\n-->\r\n\r\n**Elasticsearch version**:2.3.4\r\n\r\n**Plugins installed**: []\r\n\r\n**JVM version**:1.8\r\n\r\n**OS version**:Win 8\r\n\r\n**Description of the problem including expected versus actual behavior**:\r\nThe following query runs correctly from sense:\r\n\r\n    {\"filter\" : {\"terms\" : { \"myId\" : [123, 456 ] }}} \r\n\r\nThe same query fails when executed using TransportClient:\r\n```\r\n\r\nCaused by: [catalog] QueryParsingException[No query registered for [filter]]\r\n        at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:248)\r\n        at org.elasticsearch.index.query.WrapperQueryParser.parse(WrapperQueryParser.java:63)\r\n        at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:250)\r\n        at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:320)\r\n        at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:223)\r\n        at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:218)\r\n        at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33)\r\n        at org.elasticsearch.search.SearchService.parseSource(SearchService.java:838)\r\n\r\n```\r\n\r\n\r\n<!--\r\nIf you are filing a feature request, please remove the above bug\r\nreport block and provide responses for all of the below items.\r\n-->\r\n\r\n**Describe the feature**:\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/240999054","html_url":"https://github.com/elastic/elasticsearch/issues/20060#issuecomment-240999054","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/20060","id":240999054,"user":{"login":"clintongormley","id":56599,"avatar_url":"https://avatars.githubusercontent.com/u/56599?v=3","gravatar_id":"","url":"https://api.github.com/users/clintongormley","html_url":"https://github.com/clintongormley","followers_url":"https://api.github.com/users/clintongormley/followers","following_url":"https://api.github.com/users/clintongormley/following{/other_user}","gists_url":"https://api.github.com/users/clintongormley/gists{/gist_id}","starred_url":"https://api.github.com/users/clintongormley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintongormley/subscriptions","organizations_url":"https://api.github.com/users/clintongormley/orgs","repos_url":"https://api.github.com/users/clintongormley/repos","events_url":"https://api.github.com/users/clintongormley/events{/privacy}","received_events_url":"https://api.github.com/users/clintongormley/received_events","type":"User","site_admin":false},"created_at":"2016-08-19T11:54:43Z","updated_at":"2016-08-19T11:54:43Z","body":"Also, note that the wrapper query has been removed in 5.0"}}
{"actor":{"display_login":"clintongormley"}}