diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/MatchAllDocsFilter.java b/modules/elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/MatchAllDocsFilter.java index 263d16ea966..7ab401c78b2 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/MatchAllDocsFilter.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/common/lucene/search/MatchAllDocsFilter.java @@ -55,4 +55,8 @@ public class MatchAllDocsFilter extends Filter { return false; } + + @Override public String toString() { + return "*:*"; + } }