public class KeywordTokenizerFactory extends TokenizerFactory
KeywordTokenizer.
<fieldType name="text_keyword" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory" maxTokenLen="256"/>
</analyzer>
</fieldType>
Options:
KeywordTokenizer::DEFAULT_BUFFER_SIZE| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
SPI name
|
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion| Constructor and Description |
|---|
KeywordTokenizerFactory(Map<String,String> args)
Creates a new KeywordTokenizerFactory
|
| Modifier and Type | Method and Description |
|---|---|
KeywordTokenizer |
create(AttributeFactory factory)
Creates a TokenStream of the specified input using the given AttributeFactory
|
availableTokenizers, create, findSPIName, forName, lookupClass, reloadTokenizersget, 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, splitFileNamespublic static final String NAME
public KeywordTokenizer create(AttributeFactory factory)
TokenizerFactorycreate in class TokenizerFactoryCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.