org.apache.solr.analysis
Class JapaneseTokenizerFactory
java.lang.Object
org.apache.solr.analysis.BaseTokenizerFactory
org.apache.solr.analysis.JapaneseTokenizerFactory
- All Implemented Interfaces:
- org.apache.solr.analysis.TokenizerFactory, org.apache.solr.util.plugin.ResourceLoaderAware
public class JapaneseTokenizerFactory
- extends org.apache.solr.analysis.BaseTokenizerFactory
- implements org.apache.solr.util.plugin.ResourceLoaderAware
Factory for JapaneseTokenizer.
<fieldType name="text_ja" class="solr.TextField">
<analyzer>
<tokenizer class="solr.JapaneseTokenizerFactory" compositePOS="compositePOS.txt" dictionaryDir="/opt/dictionary" />
</analyzer>
</fieldType>
| Fields inherited from class org.apache.solr.analysis.BaseTokenizerFactory |
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
JapaneseTokenizerFactory
public JapaneseTokenizerFactory()
init
public void init(Map<String,String> args)
- Specified by:
init in interface org.apache.solr.analysis.TokenizerFactory
inform
public void inform(org.apache.solr.common.ResourceLoader loader)
- Specified by:
inform in interface org.apache.solr.util.plugin.ResourceLoaderAware
create
public org.apache.lucene.analysis.Tokenizer create(Reader reader)
- Specified by:
create in interface org.apache.solr.analysis.TokenizerFactory
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 © 2012. All Rights Reserved.