public class DelimitedPayloadTokenFilterFactory extends TokenFilterFactory implements ResourceLoaderAware
DelimitedPayloadTokenFilter
.
<fieldType name="text_dlmtd" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.DelimitedPayloadTokenFilterFactory" encoder="float" delimiter="|"/> </analyzer> </fieldType>
Modifier and Type | Field and Description |
---|---|
static String |
DELIMITER_ATTR |
static String |
ENCODER_ATTR |
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
DelimitedPayloadTokenFilterFactory(Map<String,String> args)
Creates a new DelimitedPayloadTokenFilterFactory
|
Modifier and Type | Method and Description |
---|---|
DelimitedPayloadTokenFilter |
create(TokenStream input)
Transform the specified input TokenStream
|
void |
inform(ResourceLoader loader)
Initializes this component with the provided ResourceLoader
(used for loading classes, files, etc).
|
availableTokenFilters, forName, lookupClass, reloadTokenFilters
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 static final String ENCODER_ATTR
public static final String DELIMITER_ATTR
public DelimitedPayloadTokenFilter create(TokenStream input)
TokenFilterFactory
create
in class TokenFilterFactory
public void inform(ResourceLoader loader)
ResourceLoaderAware
inform
in interface ResourceLoaderAware
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.