org.apache.nutch.searcher.more
Class DateQueryFilter

java.lang.Object
  extended by org.apache.nutch.searcher.more.DateQueryFilter
All Implemented Interfaces:
Configurable, Pluggable, QueryFilter

public class DateQueryFilter
extends Object
implements QueryFilter

Handles "date:" query clauses, causing them to search the field "date" indexed by MoreIndexingFilter.java

Author:
John Xing

Field Summary
static org.apache.commons.logging.Log LOG
           
 
Fields inherited from interface org.apache.nutch.searcher.QueryFilter
X_POINT_ID
 
Constructor Summary
DateQueryFilter()
           
 
Method Summary
 BooleanQuery filter(Query input, BooleanQuery output)
          Adds clauses or otherwise modifies the BooleanQuery that will be searched.
 Configuration getConf()
           
 void setConf(Configuration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

DateQueryFilter

public DateQueryFilter()
Method Detail

filter

public BooleanQuery filter(Query input,
                           BooleanQuery output)
                    throws QueryException
Description copied from interface: QueryFilter
Adds clauses or otherwise modifies the BooleanQuery that will be searched.

Specified by:
filter in interface QueryFilter
Throws:
QueryException

setConf

public void setConf(Configuration conf)
Specified by:
setConf in interface Configurable

getConf

public Configuration getConf()
Specified by:
getConf in interface Configurable


Copyright © 2006 The Apache Software Foundation