org.apache.solr.analysis
Class ICUNormalizer2FilterFactory
java.lang.Object
org.apache.solr.analysis.BaseTokenFilterFactory
org.apache.solr.analysis.ICUNormalizer2FilterFactory
- All Implemented Interfaces:
- org.apache.solr.analysis.TokenFilterFactory
public class ICUNormalizer2FilterFactory
- extends org.apache.solr.analysis.BaseTokenFilterFactory
Factory for ICUNormalizer2Filter
Supports the following attributes:
- name: A Unicode Normalization Form,
one of 'nfc','nfkc', 'nfkc_cf'. Default is nfkc_cf.
- mode: Either 'compose' or 'decompose'. Default is compose. Use "decompose" with nfc
or nfkc, to get nfd or nfkd, respectively.
- filter: A
UnicodeSet pattern. Codepoints outside the set are
always left unchanged. Default is [] (the null set, no filtering).
- See Also:
ICUNormalizer2Filter,
Normalizer2,
FilteredNormalizer2
| Fields inherited from class org.apache.solr.analysis.BaseTokenFilterFactory |
log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
args
protected Map<String,String> args
luceneMatchVersion
protected org.apache.lucene.util.Version luceneMatchVersion
ICUNormalizer2FilterFactory
public ICUNormalizer2FilterFactory()
init
public void init(Map<String,String> args)
- Specified by:
init in interface org.apache.solr.analysis.TokenFilterFactory
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream input)
assureMatchVersion
protected final void assureMatchVersion()
warnDeprecated
protected final void warnDeprecated(String arg0)
getInt
protected int getInt(String arg0)
getInt
protected int getInt(String arg0,
int arg1)
getInt
protected int getInt(String arg0,
int arg1,
boolean arg2)
getBoolean
protected boolean getBoolean(String arg0,
boolean arg1)
getBoolean
protected boolean getBoolean(String arg0,
boolean arg1,
boolean arg2)
getWordSet
protected org.apache.lucene.analysis.CharArraySet getWordSet(org.apache.solr.common.ResourceLoader arg0,
String arg1,
boolean arg2)
throws IOException
- Throws:
IOException
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.