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

- Packages that use DocsAndPositionsEnum
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.codecs.lucene40 | Lucene 4.0 file format.
  org.apache.lucene.codecs.lucene41 | Lucene 4.1 file 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 DocsAndPositionsEnum in org.apache.lucene.codecs

    Subclasses of DocsAndPositionsEnum in org.apache.lucene.codecs
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MappingMultiDocsAndPositionsEnum` Exposes flex API, merged from flex API of sub-segments, remapping docIDs (this is used for segment merging).

    Methods in org.apache.lucene.codecs that return DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `abstract DocsAndPositionsEnum` | PostingsReaderBase.`docsAndPositions(FieldInfo fieldInfo, BlockTermState state, Bits skipDocs, DocsAndPositionsEnum 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 DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `abstract DocsAndPositionsEnum` | PostingsReaderBase.`docsAndPositions(FieldInfo fieldInfo, BlockTermState state, Bits skipDocs, DocsAndPositionsEnum reuse, int flags)` Must fully consume state, since after this call that TermState may be reused.

  - ### Uses of DocsAndPositionsEnum in org.apache.lucene.codecs.lucene40

    Methods in org.apache.lucene.codecs.lucene40 that return DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `DocsAndPositionsEnum` | Lucene40PostingsReader.`docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)` Deprecated.

    Methods in org.apache.lucene.codecs.lucene40 with parameters of type DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `DocsAndPositionsEnum` | Lucene40PostingsReader.`docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)` Deprecated.

  - ### Uses of DocsAndPositionsEnum in org.apache.lucene.codecs.lucene41

    Methods in org.apache.lucene.codecs.lucene41 that return DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `DocsAndPositionsEnum` | Lucene41PostingsReader.`docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`

    Methods in org.apache.lucene.codecs.lucene41 with parameters of type DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `DocsAndPositionsEnum` | Lucene41PostingsReader.`docsAndPositions(FieldInfo fieldInfo, BlockTermState termState, Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`

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

    Subclasses of DocsAndPositionsEnum in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `FilterAtomicReader.FilterDocsAndPositionsEnum` Base class for filtering `DocsAndPositionsEnum` implementations.
    `class` | `MultiDocsAndPositionsEnum` Exposes flex API, merged from flex API of sub-segments.

    Fields in org.apache.lucene.index declared as DocsAndPositionsEnum
    Modifier and Type | Field and Description
    --- | ---
    `DocsAndPositionsEnum` | MultiDocsAndPositionsEnum.EnumWithSlice.`docsAndPositionsEnum` `DocsAndPositionsEnum` for this sub-reader.
    `protected DocsAndPositionsEnum` | FilterAtomicReader.FilterDocsAndPositionsEnum.`in` The underlying DocsAndPositionsEnum instance.

    Methods in org.apache.lucene.index that return DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `DocsAndPositionsEnum` | TermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse)` Get `DocsAndPositionsEnum` for the current term.
    `abstract DocsAndPositionsEnum` | TermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)` Get `DocsAndPositionsEnum` for the current term, with control over whether offsets and payloads are required.
    `DocsAndPositionsEnum` | SortedSetDocValuesTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | SortedDocValuesTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | MultiTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | FilteredTermsEnum.`docsAndPositions(Bits bits, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | FilterAtomicReader.FilterTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `static DocsAndPositionsEnum` | MultiFields.`getTermPositionsEnum(IndexReader r, Bits liveDocs, String field, BytesRef term)` Returns `DocsAndPositionsEnum` for the specified field & term.
    `static DocsAndPositionsEnum` | MultiFields.`getTermPositionsEnum(IndexReader r, Bits liveDocs, String field, BytesRef term, int flags)` Returns `DocsAndPositionsEnum` for the specified field & term, with control over whether offsets and payloads are required.
    `DocsAndPositionsEnum` | AtomicReader.`termPositionsEnum(Term term)` Returns `DocsAndPositionsEnum` for the specified term.

    Methods in org.apache.lucene.index with parameters of type DocsAndPositionsEnum
    Modifier and Type | Method and Description
    --- | ---
    `DocsAndPositionsEnum` | TermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse)` Get `DocsAndPositionsEnum` for the current term.
    `abstract DocsAndPositionsEnum` | TermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)` Get `DocsAndPositionsEnum` for the current term, with control over whether offsets and payloads are required.
    `DocsAndPositionsEnum` | SortedSetDocValuesTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | SortedDocValuesTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | MultiTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | FilteredTermsEnum.`docsAndPositions(Bits bits, DocsAndPositionsEnum reuse, int flags)`
    `DocsAndPositionsEnum` | FilterAtomicReader.FilterTermsEnum.`docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse, int flags)`

    Constructors in org.apache.lucene.index with parameters of type DocsAndPositionsEnum
    Constructor and Description
    `FilterAtomicReader.FilterDocsAndPositionsEnum(DocsAndPositionsEnum in)` Create a new FilterDocsAndPositionsEnum

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

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

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

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

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

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

    Constructors in org.apache.lucene.search.spans with parameters of type DocsAndPositionsEnum
    Constructor and Description
    `TermSpans(DocsAndPositionsEnum postings, Term term)`

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