Interface FieldCache.Parser

    • Method Detail

      • termsEnum

        TermsEnum termsEnum​(Terms terms)
                     throws java.io.IOException
        Pulls a TermsEnum from the given Terms. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.
        Parameters:
        terms - the Terms instance to create the TermsEnum from.
        Returns:
        a possibly filtered TermsEnum instance, this method must not return null.
        Throws:
        java.io.IOException - if an IOException occurs