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.


Field Summary
static String X_POINT_ID
          The name of the extension point.
 
Method Summary
 BooleanQuery filter(Query input, BooleanQuery translation)
          Adds clauses or otherwise modifies the BooleanQuery that will be searched.
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

X_POINT_ID

static final String X_POINT_ID
The name of the extension point.

Method Detail

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