public class PersianCharFilterFactory extends CharFilterFactory implements MultiTermAwareComponent
PersianCharFilter
.
<fieldType name="text_fa" class="solr.TextField" positionIncrementGap="100"> <analyzer> <charFilter class="solr.PersianCharFilterFactory"/> <tokenizer class="solr.StandardTokenizerFactory"/> </analyzer> </fieldType>
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
PersianCharFilterFactory(Map<String,String> args)
Creates a new PersianCharFilterFactory
|
Modifier and Type | Method and Description |
---|---|
CharFilter |
create(Reader input)
Wraps the given Reader with a CharFilter.
|
AbstractAnalysisFactory |
getMultiTermComponent()
Returns an analysis component to handle analysis if multi-term queries.
|
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
public AbstractAnalysisFactory getMultiTermComponent()
MultiTermAwareComponent
getMultiTermComponent
in interface MultiTermAwareComponent
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.