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.


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.
 

Field Detail

X_POINT_ID

public static final String X_POINT_ID
The name of the extension point.

Method Detail

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