{"action":"closed","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2424","repository_url":"https://api.github.com/repos/elastic/elasticsearch-net","labels_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2424/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2424/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch-net/issues/2424/events","html_url":"https://github.com/elastic/elasticsearch-net/issues/2424","id":192331446,"number":2424,"title":"Deprecated field [include] used","user":{"login":"asp-sterling","id":24252066,"avatar_url":"https://avatars.githubusercontent.com/u/24252066?v=3","gravatar_id":"","url":"https://api.github.com/users/asp-sterling","html_url":"https://github.com/asp-sterling","followers_url":"https://api.github.com/users/asp-sterling/followers","following_url":"https://api.github.com/users/asp-sterling/following{/other_user}","gists_url":"https://api.github.com/users/asp-sterling/gists{/gist_id}","starred_url":"https://api.github.com/users/asp-sterling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asp-sterling/subscriptions","organizations_url":"https://api.github.com/users/asp-sterling/orgs","repos_url":"https://api.github.com/users/asp-sterling/repos","events_url":"https://api.github.com/users/asp-sterling/events{/privacy}","received_events_url":"https://api.github.com/users/asp-sterling/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-29T16:32:22Z","updated_at":"2016-11-30T09:01:29Z","closed_at":"2016-11-30T09:01:29Z","body":"The code using NEST:\r\n\r\n```\r\nvar response = Client\r\n    .Search<Party>(s => s\r\n        .Source(src => src\r\n            .IncludeAll())\r\n        .Query(q => q\r\n            .Match(m => m\r\n            .Query(\"some string\")\r\n                .Operator(Operator.Or))));\r\n```\r\nThe response contains a ServerError:\r\n\r\n- Type: `illegal_argument_exception`\r\n- Reason: `Deprecated field [include] used, expected [includes] instead`\r\n\r\n... and the following query works fine in Kibana:\r\n\r\n```\r\nGET /_search\r\n{\r\n    \"query\": {\r\n        \"match\" : {\r\n            \"name\" : {\r\n                \"query\" : \"some string\",\r\n                \"operator\": \"or\"\r\n            }\r\n        }\r\n    }\r\n}\r\n```\r\nDid I come accross a bug?"}}
{"actor":{"display_login":"asp-sterling"}}