{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/12756","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12756/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12756/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12756/events","html_url":"https://github.com/elastic/elasticsearch/pull/12756","id":99940185,"number":12756,"title":"Add support for `disable_coord` param to `terms` query","user":{"login":"keety","id":2645414,"avatar_url":"https://avatars.githubusercontent.com/u/2645414?v=3","gravatar_id":"","url":"https://api.github.com/users/keety","html_url":"https://github.com/keety","followers_url":"https://api.github.com/users/keety/followers","following_url":"https://api.github.com/users/keety/following{/other_user}","gists_url":"https://api.github.com/users/keety/gists{/gist_id}","starred_url":"https://api.github.com/users/keety/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keety/subscriptions","organizations_url":"https://api.github.com/users/keety/orgs","repos_url":"https://api.github.com/users/keety/repos","events_url":"https://api.github.com/users/keety/events{/privacy}","received_events_url":"https://api.github.com/users/keety/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Query%20DSL","name":":Query DSL","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/enhancement","name":"enhancement","color":"4a4ea8"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-09T23:34:01Z","updated_at":"2015-08-10T12:37:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/12756","html_url":"https://github.com/elastic/elasticsearch/pull/12756","diff_url":"https://github.com/elastic/elasticsearch/pull/12756.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/12756.patch"},"body":"Trivial change to enable ```disable_coord``` support for TermsQuery .\r\n\r\nAdded test case to verify support for options in  ```TermsQuery``` Parser.\r\n\r\nCloses #12755"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/129428278","html_url":"https://github.com/elastic/elasticsearch/pull/12756#issuecomment-129428278","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/12756","id":129428278,"user":{"login":"jpountz","id":299848,"avatar_url":"https://avatars.githubusercontent.com/u/299848?v=3","gravatar_id":"","url":"https://api.github.com/users/jpountz","html_url":"https://github.com/jpountz","followers_url":"https://api.github.com/users/jpountz/followers","following_url":"https://api.github.com/users/jpountz/following{/other_user}","gists_url":"https://api.github.com/users/jpountz/gists{/gist_id}","starred_url":"https://api.github.com/users/jpountz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpountz/subscriptions","organizations_url":"https://api.github.com/users/jpountz/orgs","repos_url":"https://api.github.com/users/jpountz/repos","events_url":"https://api.github.com/users/jpountz/events{/privacy}","received_events_url":"https://api.github.com/users/jpountz/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T12:37:56Z","updated_at":"2015-08-10T12:37:56Z","body":"Actually I was recently thinking about changing this query so that we always return a `TermsQuery`. It would break backward compatibility, but I'm not too happy with the current state where `terms`, when used as a `query`, is essentially a shortcut for creating a `bool` query. I would rather make the generated `query` and `filter` have more consistent behaviours and recommend to use `bool` instead of `terms` if `disable_coord` and/or `min_shoul_match` are required?"}}