adapt changes from upstream

This commit is contained in:
javanna 2015-07-02 11:51:32 +02:00 committed by Luca Cavanna
parent d7187238a2
commit 912e2ee69e
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ public class MultiMatchQueryBuilder extends AbstractQueryBuilder<MultiMatchQuery
}
}
if (type == null) {
throw new ElasticsearchParseException("failed to parse [{}] query type [{}]. unknown type.", MultiMatchQueryParser.NAME, value);
throw new ElasticsearchParseException("failed to parse [{}] query type [{}]. unknown type.", NAME, value);
}
return type;
}