public class PatternReplaceCharFilterFactory extends CharFilterFactory
PatternReplaceCharFilter
.
<fieldType name="text_ptnreplace" class="solr.TextField" positionIncrementGap="100"> <analyzer> <charFilter class="solr.PatternReplaceCharFilterFactory" pattern="([^a-z])" replacement=""/> <tokenizer class="solr.KeywordTokenizerFactory"/> </analyzer> </fieldType>
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
PatternReplaceCharFilterFactory(Map<String,String> args)
Creates a new PatternReplaceCharFilterFactory
|
Modifier and Type | Method and Description |
---|---|
CharFilter |
create(Reader input)
Wraps the given Reader with a CharFilter.
|
availableCharFilters, forName, lookupClass, reloadCharFilters
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 CharFilter create(Reader input)
CharFilterFactory
create
in class CharFilterFactory
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.