org.apache.solr.analysis
Class CommonGramsFilterFactory
java.lang.Object
org.apache.solr.analysis.BaseTokenFilterFactory
org.apache.solr.analysis.CommonGramsFilterFactory
- All Implemented Interfaces:
- TokenFilterFactory, ResourceLoaderAware
public class CommonGramsFilterFactory
- extends BaseTokenFilterFactory
- implements ResourceLoaderAware
Constructs a CommonGramsFilter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonGramsFilterFactory
public CommonGramsFilterFactory()
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 © 2010 Apache Software Foundation. All Rights Reserved.