org.apache.nutch.searcher
Interface QueryFilter
- All Superinterfaces:
- org.apache.hadoop.conf.Configurable, Pluggable
- All Known Implementing Classes:
- BasicQueryFilter, CCQueryFilter, DateQueryFilter, FieldQueryFilter, LanguageQueryFilter, RawFieldQueryFilter, RelTagQueryFilter, SiteQueryFilter, TypeQueryFilter, URLQueryFilter
public interface QueryFilter
- extends Pluggable, org.apache.hadoop.conf.Configurable
Extension point for query translation. Permits one to add metadata to a
query. All plugins found which implement this extension point are run
sequentially on the query.
Methods inherited from interface org.apache.hadoop.conf.Configurable |
getConf, setConf |
X_POINT_ID
static final String X_POINT_ID
- The name of the extension point.
filter
BooleanQuery filter(Query input,
BooleanQuery translation)
throws QueryException
- Adds clauses or otherwise modifies the BooleanQuery that will be
searched.
- Throws:
QueryException
Copyright © 2006 The Apache Software Foundation