Class FreqProxTermsWriter.SortingTermsEnum

All Implemented Interfaces:
BytesRefIterator
Enclosing class:
FreqProxTermsWriter

private static class FreqProxTermsWriter.SortingTermsEnum extends FilterLeafReader.FilterTermsEnum
  • Field Details

    • docMap

      final Sorter.DocMap docMap
    • indexOptions

      private final IndexOptions indexOptions
    • hasPositions

      private final boolean hasPositions
  • Constructor Details

  • Method Details

    • postings

      public PostingsEnum postings(PostingsEnum reuse, int flags) throws IOException
      Description copied from class: TermsEnum
      Get PostingsEnum for the current term, with control over whether freqs, positions, offsets or payloads are required. Do not call this when the enum is unpositioned. This method will not return null.

      NOTE: the returned iterator may return deleted documents, so deleted documents have to be checked on top of the PostingsEnum.

      Overrides:
      postings in class FilterLeafReader.FilterTermsEnum
      Parameters:
      reuse - pass a prior PostingsEnum for possible reuse
      flags - specifies which optional per-document values you require; see PostingsEnum.FREQS
      Throws:
      IOException