Fixed an error message on the terms filter

This commit is contained in:
Clinton Gormley 2013-06-06 11:38:15 +02:00
parent 4e4529f3dc
commit c3332db7d0

View File

@ -91,7 +91,7 @@ public class TermsFilterParser implements FilterParser {
while ((token = parser.nextToken()) != XContentParser.Token.END_ARRAY) {
Object value = parser.objectBytes();
if (value == null) {
throw new QueryParsingException(parseContext.index(), "No value specified for term filter");
throw new QueryParsingException(parseContext.index(), "No value specified for terms filter");
}
terms.add(value);
}