{"action":"opened","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/30455","repository_url":"https://api.github.com/repos/elastic/elasticsearch","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/30455/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/30455/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/30455/events","html_url":"https://github.com/elastic/elasticsearch/issues/30455","id":321188430,"number":30455,"title":"Node filters are undocumented","user":{"login":"DaveCTurner","id":5058284,"avatar_url":"https://avatars3.githubusercontent.com/u/5058284?v=4","gravatar_id":"","url":"https://api.github.com/users/DaveCTurner","html_url":"https://github.com/DaveCTurner","followers_url":"https://api.github.com/users/DaveCTurner/followers","following_url":"https://api.github.com/users/DaveCTurner/following{/other_user}","gists_url":"https://api.github.com/users/DaveCTurner/gists{/gist_id}","starred_url":"https://api.github.com/users/DaveCTurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaveCTurner/subscriptions","organizations_url":"https://api.github.com/users/DaveCTurner/orgs","repos_url":"https://api.github.com/users/DaveCTurner/repos","events_url":"https://api.github.com/users/DaveCTurner/events{/privacy}","received_events_url":"https://api.github.com/users/DaveCTurner/received_events","type":"User","site_admin":false},"labels":[{"id":152517143,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/REST%20API","name":":Core/REST API","color":"0e8a16","default":false},{"id":23715,"url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Edocs","name":">docs","color":"db755e","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-08T13:33:45Z","updated_at":"2018-05-08T13:33:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The [introduction to the cluster APIs reference documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html) indicates that it's possible to filter the target nodes and gives some examples of how to do so, but there seems to be no comprehensive description of all the possibilities here. In particular, the special filters `{data,master,ingest}:{true,false}` are not documented. The code in question is:\r\n\r\nhttps://github.com/elastic/elasticsearch/blob/27ddb4ffeacf04b3ce09524c839c8e5a39462c8c/server/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodes.java#L303-L368\r\n\r\nNoticed in the context of #30313 which changes this method but there's apparently no corresponding docs to change.\r\n"}}
{"actor":{"display_login":"DaveCTurner"}}