mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Fixed an error message on the terms filter
This commit is contained in:
parent
4e4529f3dc
commit
c3332db7d0
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user