## Uses of Class
org.apache.lucene.index.TermState

- Packages that use TermState
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.search | Code to search indices.

- - ### Uses of TermState in org.apache.lucene.codecs

    Subclasses of TermState in org.apache.lucene.codecs
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BlockTermState` Holds all state required for `PostingsReaderBase` to produce a `PostingsEnum` without re-seeking the terms dict.

    Methods in org.apache.lucene.codecs with parameters of type TermState
    Modifier and Type | Method and Description
    --- | ---
    `void` | BlockTermState.`copyFrom(TermState _other)`

  - ### Uses of TermState in org.apache.lucene.index

    Subclasses of TermState in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `class` | `OrdTermState` An ordinal based `TermState`

    Methods in org.apache.lucene.index that return TermState
    Modifier and Type | Method and Description
    --- | ---
    `TermState` | TermState.`clone()`
    `TermState` | TermContext.`get(int ord)` Returns the `TermState` for an leaf ordinal or `null` if no `TermState` for the ordinal was registered.
    `TermState` | FilteredTermsEnum.`termState()` Returns the filtered enums term state
    `TermState` | TermsEnum.`termState()` Expert: Returns the TermsEnums internal state to position the TermsEnum without re-seeking the term dictionary.

    Methods in org.apache.lucene.index with parameters of type TermState
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | TermState.`copyFrom(TermState other)` Copies the content of the given `TermState` to this instance
    `void` | OrdTermState.`copyFrom(TermState other)`
    `void` | TermContext.`register(TermState state, int ord)` Expert: Registers and associates a `TermState` with an leaf ordinal.
    `void` | TermContext.`register(TermState state, int ord, int docFreq, long totalTermFreq)` Registers and associates a `TermState` with an leaf ordinal.
    `void` | FilteredTermsEnum.`seekExact(BytesRef term, TermState state)` This enum does not support seeking!
    `void` | TermsEnum.`seekExact(BytesRef term, TermState state)` Expert: Seeks a specific position by `TermState` previously obtained from `TermsEnum.termState()`.

    Constructors in org.apache.lucene.index with parameters of type TermState
    Constructor and Description
    `TermContext(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq)` Creates a `TermContext` with an initial `TermState`, `IndexReader` pair.

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

    Methods in org.apache.lucene.search that return TermState
    Modifier and Type | Method and Description
    --- | ---
    `TermState` | FuzzyTermsEnum.`termState()`

    Methods in org.apache.lucene.search with parameters of type TermState
    Modifier and Type | Method and Description
    --- | ---
    `void` | FuzzyTermsEnum.`seekExact(BytesRef term, TermState state)`

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