Class TermVectorFilteredLeafReader.TermVectorFilteredTermsEnum

    • Field Detail

      • baseTermsEnum

        private final TermsEnum baseTermsEnum
    • Constructor Detail

      • TermVectorFilteredTermsEnum

        TermVectorFilteredTermsEnum​(TermsEnum baseTermsEnum,
                                    TermsEnum filteredTermsEnum)
    • Method Detail

      • postings

        public PostingsEnum postings​(PostingsEnum reuse,
                                     int flags)
                              throws java.io.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:
        java.io.IOException
      • moveToCurrentTerm

        void moveToCurrentTerm()
                        throws java.io.IOException
        Throws:
        java.io.IOException