public class JapanesePartOfSpeechStopFilterFactory extends TokenFilterFactory implements ResourceLoaderAware
JapanesePartOfSpeechStopFilter
.
<fieldType name="text_ja" class="solr.TextField"> <analyzer> <tokenizer class="solr.JapaneseTokenizerFactory"/> <filter class="solr.JapanesePartOfSpeechStopFilterFactory" tags="stopTags.txt"/> </analyzer> </fieldType>
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
JapanesePartOfSpeechStopFilterFactory(Map<String,String> args)
Creates a new JapanesePartOfSpeechStopFilterFactory
|
Modifier and Type | Method and Description |
---|---|
TokenStream |
create(TokenStream stream) |
void |
inform(ResourceLoader loader) |
availableTokenFilters, findSPIName, forName, lookupClass, normalize, reloadTokenFilters
get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNames
public static final String NAME
public void inform(ResourceLoader loader) throws IOException
inform
in interface ResourceLoaderAware
IOException
public TokenStream create(TokenStream stream)
create
in class TokenFilterFactory
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.