Class LowerCaseTokenizerFactory


  • @Deprecated
    public class LowerCaseTokenizerFactory
    extends org.apache.lucene.analysis.TokenizerFactory
    Deprecated.
    Use LetterTokenizerFactory and LowerCaseFilterFactory
    Factory for LowerCaseTokenizer.
     <fieldType name="text_lwrcase" class="solr.TextField" positionIncrementGap="100">
     <analyzer>
     <tokenizer class="solr.LowerCaseTokenizerFactory" maxTokenLen="256"/>
     </analyzer>
     </fieldType>

    Options:

    • maxTokenLen: max token length, should be greater than 0 and less than MAX_TOKEN_LENGTH_LIMIT (1024*1024). It is rare to need to change this else CharTokenizer::DEFAULT_MAX_WORD_LEN
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "lowercase"
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String NAME
      Deprecated.
      SPI name
      • Fields inherited from class org.apache.lucene.analysis.AbstractAnalysisFactory

        LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
    • Method Summary

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

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

        defaultCtorException, 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

      • LowerCaseTokenizerFactory

        public LowerCaseTokenizerFactory​(Map<String,​String> args)
        Deprecated.
        Creates a new LowerCaseTokenizerFactory
      • LowerCaseTokenizerFactory

        public LowerCaseTokenizerFactory()
        Deprecated.
        Default ctor for compatibility with SPI
    • Method Detail

      • create

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