org.apache.solr.analysis
Class CollationKeyFilterFactory

java.lang.Object
  extended by org.apache.lucene.analysis.util.AbstractAnalysisFactory
      extended by org.apache.lucene.analysis.util.TokenFilterFactory
          extended by org.apache.solr.analysis.CollationKeyFilterFactory
All Implemented Interfaces:
MultiTermAwareComponent, ResourceLoaderAware

Deprecated. use CollationField instead.

@Deprecated
public class CollationKeyFilterFactory
extends TokenFilterFactory
implements MultiTermAwareComponent, ResourceLoaderAware

Factory for 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>

Since:
solr 3.1
See Also:
Collator, Locale, RuleBasedCollator

Field Summary
 
Fields inherited from class org.apache.lucene.analysis.util.AbstractAnalysisFactory
args, luceneMatchVersion
 
Constructor Summary
CollationKeyFilterFactory()
          Deprecated.  
 
Method Summary
 TokenStream create(TokenStream input)
          Deprecated.  
 AbstractAnalysisFactory getMultiTermComponent()
          Deprecated.  
 void inform(ResourceLoader loader)
          Deprecated.  
 
Methods inherited from class org.apache.lucene.analysis.util.AbstractAnalysisFactory
assureMatchVersion, getArgs, getBoolean, getBoolean, getInt, getInt, getInt, getLuceneMatchVersion, getPattern, getSnowballWordSet, getWordSet, init, setLuceneMatchVersion, splitFileNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollationKeyFilterFactory

public CollationKeyFilterFactory()
Deprecated. 
Method Detail

inform

public void inform(ResourceLoader loader)
Deprecated. 
Specified by:
inform in interface ResourceLoaderAware

create

public TokenStream create(TokenStream input)
Deprecated. 
Specified by:
create in class TokenFilterFactory

getMultiTermComponent

public AbstractAnalysisFactory getMultiTermComponent()
Deprecated. 
Specified by:
getMultiTermComponent in interface MultiTermAwareComponent


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.