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

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

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

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

    Methods in org.apache.lucene.search that return TwoPhaseIterator
    Modifier and Type | Method and Description
    --- | ---
    `TwoPhaseIterator` | Scorer.`twoPhaseIterator()` Optional method: Return a `TwoPhaseIterator` view of this `Scorer`.
    `TwoPhaseIterator` | FilterScorer.`twoPhaseIterator()`
    `TwoPhaseIterator` | ConstantScoreScorer.`twoPhaseIterator()`
    `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 and Description
    --- | ---
    `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 and Description
    `ConstantScoreScorer(Weight weight, float score, ScoreMode scoreMode, TwoPhaseIterator twoPhaseIterator)` Constructor based on a `TwoPhaseIterator`.

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

    Methods in org.apache.lucene.search.spans that return TwoPhaseIterator
    Modifier and Type | Method and Description
    --- | ---
    `TwoPhaseIterator` | Spans.`asTwoPhaseIterator()` Optional method: Return a `TwoPhaseIterator` view of this `Scorer`.
    `TwoPhaseIterator` | FilterSpans.`asTwoPhaseIterator()`
    `TwoPhaseIterator` | SpanScorer.`twoPhaseIterator()`

Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.