// each term gets converted to its item list by matching it to the given field
return new PhraseMerger(Iterables.transform(terms, getFieldMatcher(field)), termPositions, boost);
}
private SkippableIterable<RawMatch> matchOr(OrQuery query) {
QueryNode leftQuery = query.getLeftQuery();
QueryNode rightQuery = query.getRightQuery();
SkippableIterable<RawMatch> left = match(leftQuery);
SkippableIterable<RawMatch> right = match(rightQuery);
return new OrMerger2(left, right, query.getBoost(), leftQuery.getBoost(), rightQuery.getBoost(), leftQuery.getNorm(), rightQuery.getNorm());
}