public class UAX29URLEmailTokenizerFactory extends BaseTokenizerFactory
UAX29URLEmailTokenizer.
<fieldType name="text_urlemail" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.UAX29URLEmailTokenizerFactory" maxTokenLength="255"/>
</analyzer>
</fieldType>| Modifier and Type | Field and Description |
|---|---|
private int |
maxTokenLength |
logargs, luceneMatchVersion| Constructor and Description |
|---|
UAX29URLEmailTokenizerFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer |
create(java.io.Reader input)
Creates a TokenStream of the specified input
|
void |
init(java.util.Map<java.lang.String,java.lang.String> args)
init will be called just once, immediately after creation. |
assureMatchVersion, getArgs, getBoolean, getBoolean, getInt, getInt, getInt, getSnowballWordSet, getWordSet, warnDeprecatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgspublic void init(java.util.Map<java.lang.String,java.lang.String> args)
TokenizerFactoryinit will be called just once, immediately after creation.
The args are user-level initialization parameters that may be specified when declaring a the factory in the schema.xml
init in interface TokenizerFactoryinit in class BaseTokenStreamFactorypublic org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer create(java.io.Reader input)
TokenizerFactory