org.apache.solr.analysis
Class CommonGramsFilterFactory

java.lang.Object
  extended by org.apache.solr.analysis.BaseTokenFilterFactory
      extended by org.apache.solr.analysis.CommonGramsFilterFactory
All Implemented Interfaces:
TokenFilterFactory, ResourceLoaderAware

public class CommonGramsFilterFactory
extends BaseTokenFilterFactory
implements ResourceLoaderAware

Constructs a CommonGramsFilter


Field Summary
 
Fields inherited from class org.apache.solr.analysis.BaseTokenFilterFactory
args, log
 
Constructor Summary
CommonGramsFilterFactory()
           
 
Method Summary
 CommonGramsFilter create(TokenStream input)
          Transform the specified input TokenStream
 Set getCommonWords()
           
 void inform(org.apache.solr.common.ResourceLoader loader)
           
 boolean isIgnoreCase()
           
 
Methods inherited from class org.apache.solr.analysis.BaseTokenFilterFactory
getArgs, getBoolean, getBoolean, getInt, getInt, getInt, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonGramsFilterFactory

public CommonGramsFilterFactory()
Method Detail

inform

public void inform(org.apache.solr.common.ResourceLoader loader)
Specified by:
inform in interface ResourceLoaderAware

isIgnoreCase

public boolean isIgnoreCase()

getCommonWords

public Set getCommonWords()

create

public CommonGramsFilter create(TokenStream input)
Description copied from interface: TokenFilterFactory
Transform the specified input TokenStream

Specified by:
create in interface TokenFilterFactory


Copyright © 2011 Apache Software Foundation. All Rights Reserved.