org.apache.nutch.searcher
Class FieldQueryFilter
java.lang.Object
org.apache.nutch.searcher.FieldQueryFilter
- All Implemented Interfaces:
- QueryFilter
- public abstract class FieldQueryFilter
- extends Object
- implements QueryFilter
Translate query fields to search the same-named field, as indexed by an
IndexingFilter. Best for tokenized fields.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldQueryFilter
protected FieldQueryFilter(String field)
- Construct for the named field.
FieldQueryFilter
protected FieldQueryFilter(String field,
float boost)
- Construct for the named field, boosting as specified.
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
Copyright © 2006 The Apache Software Foundation