Package org.apache.solr.analysis
Class LowerCaseTokenizerFactory
- java.lang.Object
-
- org.apache.lucene.analysis.AbstractAnalysisFactory
-
- org.apache.lucene.analysis.TokenizerFactory
-
- org.apache.solr.analysis.LowerCaseTokenizerFactory
-
@Deprecated public class LowerCaseTokenizerFactory extends org.apache.lucene.analysis.TokenizerFactory
Deprecated.UseLetterTokenizerFactory
andLowerCaseFilterFactory
Factory forLowerCaseTokenizer
.<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"
- 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
-
-
Constructor Summary
Constructors Constructor Description LowerCaseTokenizerFactory()
Deprecated.Default ctor for compatibility with SPILowerCaseTokenizerFactory(Map<String,String> args)
Deprecated.Creates a new LowerCaseTokenizerFactory
-
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
-
-
-
-
Field Detail
-
NAME
public static final String NAME
Deprecated.SPI name- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public LowerCaseTokenizer create(org.apache.lucene.util.AttributeFactory factory)
Deprecated.- Specified by:
create
in classorg.apache.lucene.analysis.TokenizerFactory
-
-