public class JapanesePartOfSpeechStopFilterFactory extends BaseTokenFilterFactory implements ResourceLoaderAware
JapanesePartOfSpeechStopFilter
.
<fieldType name="text_ja" class="solr.TextField"> <analyzer> <tokenizer class="solr.JapaneseTokenizerFactory"/> <filter class="solr.JapanesePartOfSpeechStopFilterFactory" tags="stopTags.txt" enablePositionIncrements="true"/> </analyzer> </fieldType>
Modifier and Type | Field and Description |
---|---|
private boolean |
enablePositionIncrements |
private java.util.Set<java.lang.String> |
stopTags |
log
args, luceneMatchVersion
Constructor and Description |
---|
JapanesePartOfSpeechStopFilterFactory() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
create(org.apache.lucene.analysis.TokenStream stream)
Transform the specified input TokenStream
|
void |
inform(ResourceLoader loader) |
assureMatchVersion, getArgs, getBoolean, getBoolean, getInt, getInt, getInt, getSnowballWordSet, getWordSet, init, warnDeprecated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgs, init
private boolean enablePositionIncrements
private java.util.Set<java.lang.String> stopTags
public JapanesePartOfSpeechStopFilterFactory()
public void inform(ResourceLoader loader)
inform
in interface ResourceLoaderAware
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream stream)
TokenFilterFactory
create
in interface TokenFilterFactory