CollationKeyAnalyzer
instead.@Deprecated public class CollationKeyFilterFactory extends TokenFilterFactory implements MultiTermAwareComponent, ResourceLoaderAware
CollationKeyFilter
.
This factory can be created in two ways:
Using a System collator:
Using a Tailored ruleset:
<fieldType name="text_clltnky" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.KeywordTokenizerFactory"/> <filter class="solr.CollationKeyFilterFactory" language="ja" country="JP"/> </analyzer> </fieldType>
Collator
,
Locale
,
RuleBasedCollator
LUCENE_MATCH_VERSION_PARAM, luceneMatchVersion
Constructor and Description |
---|
CollationKeyFilterFactory(Map<String,String> args)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TokenStream |
create(TokenStream input)
Deprecated.
Transform the specified input TokenStream
|
AbstractAnalysisFactory |
getMultiTermComponent()
Deprecated.
Returns an analysis component to handle analysis if multi-term queries.
|
void |
inform(ResourceLoader loader)
Deprecated.
Initializes this component with the provided ResourceLoader
(used for loading classes, files, etc).
|
availableTokenFilters, forName, lookupClass, reloadTokenFilters
assureMatchVersion, 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, splitFileNames
public void inform(ResourceLoader loader) throws IOException
ResourceLoaderAware
inform
in interface ResourceLoaderAware
IOException
public TokenStream create(TokenStream input)
TokenFilterFactory
create
in class TokenFilterFactory
public AbstractAnalysisFactory getMultiTermComponent()
MultiTermAwareComponent
getMultiTermComponent
in interface MultiTermAwareComponent
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.