org.apache.nutch.searcher.more
Class DateQueryFilter
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
DateQueryFilter
public DateQueryFilter()
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