org.apache.lucene.analysis.core

Class TypeTokenFilter

    • Method Detail

      • accept

        protected boolean accept()
        By default accept the token if its type is not a stop type. When the useWhiteList parameter is set to true then accept the token if its type is contained in the stopTypes
        Specified by:
        accept in class FilteringTokenFilter