Class DefaultAnalysisConfigurer.ConfigurableBufferSizeKeywordTokenizerFactory

  • Enclosing class:
    DefaultAnalysisConfigurer

    public static final class DefaultAnalysisConfigurer.ConfigurableBufferSizeKeywordTokenizerFactory
    extends org.apache.lucene.analysis.util.TokenizerFactory
    Similar to KeywordTokenizerFactory but with a configurable buffer size. This tokenizer factory accepts an integer param named "bufferSize" that defaults to 256.
    • Field Summary

      • Fields inherited from class org.apache.lucene.analysis.util.AbstractAnalysisFactory

        LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.lucene.analysis.Tokenizer create​(org.apache.lucene.util.AttributeFactory factory)  
      • Methods inherited from class org.apache.lucene.analysis.util.TokenizerFactory

        availableTokenizers, create, findSPIName, forName, lookupClass, reloadTokenizers
      • Methods inherited from class org.apache.lucene.analysis.util.AbstractAnalysisFactory

        get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNames
    • Constructor Detail

      • ConfigurableBufferSizeKeywordTokenizerFactory

        public ConfigurableBufferSizeKeywordTokenizerFactory​(Map<String,​String> args)
    • Method Detail

      • create

        public org.apache.lucene.analysis.Tokenizer create​(org.apache.lucene.util.AttributeFactory factory)
        Specified by:
        create in class org.apache.lucene.analysis.util.TokenizerFactory