Internal: call context.handleTermsLookup rather than context.indexQueryParserService().handleTermsLookup() in TermsQueryBuilder#toQuery

This commit is contained in:
javanna 2015-08-31 10:42:38 +02:00 committed by Luca Cavanna
parent dd65bd0fe8
commit c41843afec
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ public class TermsQueryBuilder extends AbstractQueryBuilder<TermsQueryBuilder> {
if (termsLookup.index() == null) {
termsLookup.index(context.index().name());
}
terms = context.indexQueryParserService().handleTermsLookup(termsLookup);
terms = context.handleTermsLookup(termsLookup);
} else {
terms = values;
}