public class JapaneseKatakanaStemFilterFactory extends TokenFilterFactory
JapaneseKatakanaStemFilter
.
<fieldType name="text_ja" class="solr.TextField"> <analyzer> <tokenizer class="solr.JapaneseTokenizerFactory"/> <filter class="solr.JapaneseKatakanaStemFilterFactory" minimumLength="4"/> </analyzer> </fieldType>
Modifier and Type | Field and Description |
---|---|
static String |
NAME
SPI name
|
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
JapaneseKatakanaStemFilterFactory(Map<String,String> args)
Creates a new JapaneseKatakanaStemFilterFactory
|
Modifier and Type | Method and Description |
---|---|
TokenStream |
create(TokenStream input) |
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 TokenStream create(TokenStream input)
create
in class TokenFilterFactory
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.