org.apache.nutch.searcher
Interface QueryFilter
- All Known Implementing Classes:
- DateQueryFilter, FieldQueryFilter, RawFieldQueryFilter
- public interface QueryFilter
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
public static final String X_POINT_ID
- The name of the extension point.
filter
public 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