## 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.lucene50` 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` | `MultiPostingsEnum` Exposes `PostingsEnum`, merged from `PostingsEnum` API of sub-segments.

    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` | MultiFields.`getTermDocsEnum(IndexReader r, String field, BytesRef term)` Returns `PostingsEnum` for the specified field and term.
    `static PostingsEnum` | MultiFields.`getTermDocsEnum(IndexReader r, String field, BytesRef term, int flags)` Returns `PostingsEnum` for the specified field and term, with control over whether freqs are required.
    `static PostingsEnum` | MultiFields.`getTermPositionsEnum(IndexReader r, String field, BytesRef term)` Returns `PostingsEnum` for the specified field and term.
    `static PostingsEnum` | MultiFields.`getTermPositionsEnum(IndexReader r, String field, BytesRef term, int flags)` Returns `PostingsEnum` for the specified field and term, with control over whether offsets and 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

  - ### 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(Similarity.SimScorer scorer, PostingsEnum postings, Term term, float positionsCost)`

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