createConjunction
fun createConjunction(allIterators: MutableList<DocIdSetIterator>, twoPhaseIterators: MutableList<TwoPhaseIterator>): DocIdSetIterator
Create a conjunction over the provided set of DocIdSetIterators and TwoPhaseIterators, using two-phase iterator where possible. Note that the returned DocIdSetIterator might leverage two-phase iteration in which case it is possible to retrieve the [ ] using TwoPhaseIterator.unwrap.
Parameters
allIterators
a list of DocIdSetIterators to combine
twoPhaseIterators
a list of TwoPhaseIterators to combine