public class ClassicTokenizerFactory extends TokenizerFactory
ClassicTokenizer
.
<fieldType name="text_clssc" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.ClassicTokenizerFactory" maxTokenLength="120"/> </analyzer> </fieldType>
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
ClassicTokenizerFactory(Map<String,String> args)
Creates a new ClassicTokenizerFactory
|
Modifier and Type | Method and Description |
---|---|
ClassicTokenizer |
create(AttributeFactory factory,
Reader input)
Creates a TokenStream of the specified input using the given AttributeFactory
|
availableTokenizers, create, forName, lookupClass, reloadTokenizers
assureMatchVersion, 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, splitFileNames
public ClassicTokenizer create(AttributeFactory factory, Reader input)
TokenizerFactory
create
in class TokenizerFactory
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.