-
Notifications
You must be signed in to change notification settings - Fork 25.2k
GET _nodes/master:false does not work #28797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This feature works like this: if you specify I hope this helps. |
Thanks @jasontedor . That's more clear than the official document would state. |
I do not think that is possible with the existing functionality, sorry. |
@linker-mist I have integrated #28971 which will make it possible to do |
@jasontedor Could you add your explanation to docs ? https://www.elastic.co/guide/en/elasticsearch/reference/6.2/cluster.html#cluster-nodes page says nothing about it and it is a really useful function |
Describe the feature:
Elasticsearch version (
bin/elasticsearch --version
): 6.1.1Plugins installed: [None]
JVM version (
java -version
): Not applicableOS version (
uname -a
if on a Unix-like system): Not applicableDescription of the problem including expected versus actual behavior:
There is a bug where searching for a node type == false returns nothing.
Master node type is just one example. data:false is also not working.
What I'm trying to do is to discover just the ingest nodes for writing, and only coordinator nodes for reading.
Then I encountered this issue.
Steps to reproduce:
From kibana Dev Tools Console
Provide logs (if relevant):

GET /_nodes/master:true returns the following 3 nodes
GET /_nodes/master:false returns nothing

GET /_cat/nodes?v // I have total of 9 nodes in the cluster

The text was updated successfully, but these errors were encountered: