## Uses of Class
org.apache.lucene.search.TwoPhaseIterator

- Packages that use TwoPhaseIterator
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.

- - ### Uses of TwoPhaseIterator in org.apache.lucene.search

    Fields in org.apache.lucene.search declared as TwoPhaseIterator
    Modifier and Type | Field | Description
    --- | --- | ---
    `TwoPhaseIterator` | DisiWrapper.`twoPhaseView` |

    Methods in org.apache.lucene.search that return TwoPhaseIterator
    Modifier and Type | Method | Description
    --- | --- | ---
    `TwoPhaseIterator` | ConstantScoreScorer.`twoPhaseIterator()` |
    `TwoPhaseIterator` | FilterScorer.`twoPhaseIterator()` |
    `TwoPhaseIterator` | Scorer.`twoPhaseIterator()` | Optional method: Return a `TwoPhaseIterator` view of this `Scorer`.
    `static TwoPhaseIterator` | TwoPhaseIterator.`unwrap​(DocIdSetIterator iterator)` | If the given `DocIdSetIterator` has been created with `asDocIdSetIterator(org.apache.lucene.search.TwoPhaseIterator)`, then this will return the wrapped `TwoPhaseIterator`.

    Methods in org.apache.lucene.search with parameters of type TwoPhaseIterator
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | ConjunctionUtils.`addTwoPhaseIterator​(TwoPhaseIterator twoPhaseIter, List<DocIdSetIterator> allIterators, List<TwoPhaseIterator> twoPhaseIterators)` | Given a two-phase iterator, find any sub-iterators and add them to the provided DocIdSetIterator and TwoPhaseIterator lists
    `static DocIdSetIterator` | TwoPhaseIterator.`asDocIdSetIterator​(TwoPhaseIterator twoPhaseIterator)` | Return a `DocIdSetIterator` view of the provided `TwoPhaseIterator`.

    Constructors in org.apache.lucene.search with parameters of type TwoPhaseIterator
    Constructor | Description
    --- | ---
    `ConstantScoreScorer​(Weight weight, float score, ScoreMode scoreMode, TwoPhaseIterator twoPhaseIterator)` | Constructor based on a `TwoPhaseIterator`.