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

- Packages that use PostingsEnum
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.codecs.lucene50 | Components from the Lucene 5.0 index format See `org.apache.lucene.codecs.lucene80` for an overview of the index format.
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.search | Code to search indices.
  org.apache.lucene.search.spans | The calculus of spans.

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

    Methods in org.apache.lucene.codecs that return PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `abstract PostingsEnum` | PostingsReaderBase.`postings(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags)` Must fully consume state, since after this call that TermState may be reused.

    Methods in org.apache.lucene.codecs with parameters of type PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `abstract PostingsEnum` | PostingsReaderBase.`postings(FieldInfo fieldInfo, BlockTermState state, PostingsEnum reuse, int flags)` Must fully consume state, since after this call that TermState may be reused.

  - ### Uses of PostingsEnum in org.apache.lucene.codecs.lucene50

    Methods in org.apache.lucene.codecs.lucene50 that return PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `PostingsEnum` | Lucene50PostingsReader.`postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)`

    Methods in org.apache.lucene.codecs.lucene50 with parameters of type PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `PostingsEnum` | Lucene50PostingsReader.`postings(FieldInfo fieldInfo, BlockTermState termState, PostingsEnum reuse, int flags)`

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

    Subclasses of PostingsEnum in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `FilterLeafReader.FilterPostingsEnum` Base class for filtering `PostingsEnum` implementations.
    `class` | `ImpactsEnum` Extension of `PostingsEnum` which also provides information about upcoming impacts.
    `class` | `MultiPostingsEnum` Exposes `PostingsEnum`, merged from `PostingsEnum` API of sub-segments.
    `class` | `SlowImpactsEnum` `ImpactsEnum` that doesn't index impacts but implements the API in a legal way.

    Fields in org.apache.lucene.index declared as PostingsEnum
    Modifier and Type | Field and Description
    --- | ---
    `protected PostingsEnum` | FilterLeafReader.FilterPostingsEnum.`in` The underlying PostingsEnum instance.
    `PostingsEnum` | MultiPostingsEnum.EnumWithSlice.`postingsEnum` `PostingsEnum` for this sub-reader.

    Methods in org.apache.lucene.index that return PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `static PostingsEnum` | MultiTerms.`getTermPostingsEnum(IndexReader r, String field, BytesRef term)` Returns `PostingsEnum` for the specified field and term.
    `static PostingsEnum` | MultiTerms.`getTermPostingsEnum(IndexReader r, String field, BytesRef term, int flags)` Returns `PostingsEnum` for the specified field and term, with control over whether freqs, positions, offsets or payloads are required.
    `PostingsEnum` | TermsEnum.`postings(PostingsEnum reuse)` Get `PostingsEnum` for the current term.
    `PostingsEnum` | MultiTermsEnum.`postings(PostingsEnum reuse, int flags)`
    `abstract PostingsEnum` | TermsEnum.`postings(PostingsEnum reuse, int flags)` Get `PostingsEnum` for the current term, with control over whether freqs, positions, offsets or payloads are required.
    `PostingsEnum` | FilteredTermsEnum.`postings(PostingsEnum reuse, int flags)`
    `PostingsEnum` | FilterLeafReader.FilterTermsEnum.`postings(PostingsEnum reuse, int flags)`
    `PostingsEnum` | LeafReader.`postings(Term term)` Returns `PostingsEnum` for the specified term with `FREQS`.
    `PostingsEnum` | LeafReader.`postings(Term term, int flags)` Returns `PostingsEnum` for the specified term.

    Methods in org.apache.lucene.index with parameters of type PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `PostingsEnum` | TermsEnum.`postings(PostingsEnum reuse)` Get `PostingsEnum` for the current term.
    `PostingsEnum` | MultiTermsEnum.`postings(PostingsEnum reuse, int flags)`
    `abstract PostingsEnum` | TermsEnum.`postings(PostingsEnum reuse, int flags)` Get `PostingsEnum` for the current term, with control over whether freqs, positions, offsets or payloads are required.
    `PostingsEnum` | FilteredTermsEnum.`postings(PostingsEnum reuse, int flags)`
    `PostingsEnum` | FilterLeafReader.FilterTermsEnum.`postings(PostingsEnum reuse, int flags)`

    Constructors in org.apache.lucene.index with parameters of type PostingsEnum
    Constructor and Description
    `FilterPostingsEnum(PostingsEnum in)` Create a new FilterPostingsEnum
    `SlowImpactsEnum(PostingsEnum delegate)` Wrap the given `PostingsEnum`.

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

    Methods in org.apache.lucene.search that return PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `PostingsEnum` | FuzzyTermsEnum.`postings(PostingsEnum reuse, int flags)`

    Methods in org.apache.lucene.search with parameters of type PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `PostingsEnum` | FuzzyTermsEnum.`postings(PostingsEnum reuse, int flags)`

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

    Fields in org.apache.lucene.search.spans declared as PostingsEnum
    Modifier and Type | Field and Description
    --- | ---
    `protected PostingsEnum` | TermSpans.`postings`

    Methods in org.apache.lucene.search.spans that return PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `PostingsEnum` | TermSpans.`getPostings()`

    Methods in org.apache.lucene.search.spans with parameters of type PostingsEnum
    Modifier and Type | Method and Description
    --- | ---
    `void` | SpanCollector.`collectLeaf(PostingsEnum postings, int position, Term term)` Collect information from postings

    Constructors in org.apache.lucene.search.spans with parameters of type PostingsEnum
    Constructor and Description
    `TermSpans(LeafSimScorer scorer, PostingsEnum postings, Term term, float positionsCost)`

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