## 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` | TermStates.`get(LeafReaderContext ctx)` Returns the `TermState` for a leaf reader context or `null` if no `TermState` for the context was registered.
    `TermState` | BaseTermsEnum.`termState()`
    `abstract TermState` | TermsEnum.`termState()` Expert: Returns the TermsEnums internal state to position the TermsEnum without re-seeking the term dictionary.
    `TermState` | FilteredTermsEnum.`termState()` Returns the filtered enums term state
    `TermState` | FilterLeafReader.FilterTermsEnum.`termState()`

    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` | TermStates.`register(TermState state, int ord)` Expert: Registers and associates a `TermState` with an leaf ordinal.
    `void` | TermStates.`register(TermState state, int ord, int docFreq, long totalTermFreq)` Registers and associates a `TermState` with an leaf ordinal.
    `void` | BaseTermsEnum.`seekExact(BytesRef term, TermState state)`
    `abstract void` | TermsEnum.`seekExact(BytesRef term, TermState state)` Expert: Seeks a specific position by `TermState` previously obtained from `TermsEnum.termState()`.
    `void` | FilteredTermsEnum.`seekExact(BytesRef term, TermState state)` This enum does not support seeking!
    `void` | FilterLeafReader.FilterTermsEnum.`seekExact(BytesRef term, TermState state)`

    Constructors in org.apache.lucene.index with parameters of type TermState
    Constructor and Description
    `TermStates(IndexReaderContext context, TermState state, int ord, int docFreq, long totalTermFreq)` Creates a `TermStates` 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-2019 Apache Software Foundation. All Rights Reserved.