public class StemmerOverrideFilterFactory extends BaseTokenFilterFactory implements ResourceLoaderAware
StemmerOverrideFilter.
<fieldType name="text_dicstem" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.StemmerOverrideFilterFactory" dictionary="dictionary.txt" ignoreCase="false"/>
</analyzer>
</fieldType>| Modifier and Type | Field and Description |
|---|---|
private org.apache.lucene.analysis.CharArrayMap<java.lang.String> |
dictionary |
private boolean |
ignoreCase |
logargs, luceneMatchVersion| Constructor and Description |
|---|
StemmerOverrideFilterFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream input)
Transform the specified input TokenStream
|
void |
inform(ResourceLoader loader) |
boolean |
isIgnoreCase() |
assureMatchVersion, getArgs, getBoolean, getBoolean, getInt, getInt, getInt, getSnowballWordSet, getWordSet, init, warnDeprecatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgs, initprivate org.apache.lucene.analysis.CharArrayMap<java.lang.String> dictionary
private boolean ignoreCase
public void inform(ResourceLoader loader)
inform in interface ResourceLoaderAwarepublic boolean isIgnoreCase()
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream input)
TokenFilterFactorycreate in interface TokenFilterFactory