public class LetterTokenizerFactory extends TokenizerFactory
LetterTokenizer
.
<fieldType name="text_letter" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.LetterTokenizerFactory" maxTokenLen="256"/> </analyzer> </fieldType>Options:
CharTokenizer
::DEFAULT_MAX_TOKEN_LENLUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
LetterTokenizerFactory(Map<String,String> args)
Creates a new LetterTokenizerFactory
|
Modifier and Type | Method and Description |
---|---|
LetterTokenizer |
create(AttributeFactory factory)
Creates a TokenStream of the specified input using the given AttributeFactory
|
availableTokenizers, create, forName, lookupClass, reloadTokenizers
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
public LetterTokenizer create(AttributeFactory factory)
TokenizerFactory
create
in class TokenizerFactory
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.