diff --git a/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java b/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java index f9e8441f146..6f71d5c8a81 100644 --- a/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java +++ b/src/main/java/org/elasticsearch/cluster/node/DiscoveryNodeFilters.java @@ -80,7 +80,7 @@ public class DiscoveryNodeFilters { } } return false; - } else if ("_name".equals(attr)) { + } else if ("_name".equals(attr) || "name".equals(attr)) { for (String value : values) { if (Regex.simpleMatch(value, node.name())) { return true;