From ef4c44577a78900210ba3ae957345f25bef6f59c Mon Sep 17 00:00:00 2001 From: kimchy Date: Tue, 2 Nov 2010 10:23:05 +0200 Subject: [PATCH] add toString to match_all docs --- .../common/lucene/search/MatchAllDocsFilter.java | 4 ++++ 1 file changed, 4 insertions(+) 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 "*:*"; + } }