if (entry.getValue().contains(bestIndex)) {
matchingCond.add(entry.getKey());
conditer.remove();
}
}
final IndexQuery subquery = serializer.getQuery(bestIndex, resultType, matchingCond, supportsOrder ? orders : OrderList.NO_ORDER);
jointQuery.add(bestIndex, subquery);
isSorted = isSorted && supportsOrder;
}
/* TODO: smarter optimization: