if (fields.size() == 1) {
queryBuilder = new MatchQueryBuilder(searchContext, indexCache, matchType, options);
} else {
queryBuilder = new MultiMatchQueryBuilder(searchContext, indexCache, matchType, options);
}
return queryBuilder.query(fields, queryString);
}
}
class RegexpMatchQuery extends CmpQuery {