org.apache.nutch.searcher
Interface QueryFilter
- All Superinterfaces:
- Configurable, Pluggable
- All Known Implementing Classes:
- BasicQueryFilter, CCQueryFilter, DateQueryFilter, FieldQueryFilter, LanguageQueryFilter, RawFieldQueryFilter, RelTagQueryFilter, SiteQueryFilter, TypeQueryFilter, URLQueryFilter
public interface QueryFilter
- extends Pluggable, 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.
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