public class IndexingFilters extends Object
IndexingFilter implementing plugins.| Modifier and Type | Field and Description |
|---|---|
static String |
INDEXINGFILTER_ORDER |
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
IndexingFilters(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
NutchDocument |
filter(NutchDocument doc,
String url,
WebPage page)
Run all defined filters.
|
Collection<WebPage.Field> |
getFields()
Gets all the fields for a given
WebPage Many datastores need to
setup the mapreduce job by specifying the fields needed. |
public static final String INDEXINGFILTER_ORDER
public static final org.slf4j.Logger LOG
public IndexingFilters(Configuration conf)
public NutchDocument filter(NutchDocument doc, String url, WebPage page) throws IndexingException
IndexingExceptionpublic Collection<WebPage.Field> getFields()
WebPage Many datastores need to
setup the mapreduce job by specifying the fields needed. All extensions
that work on WebPage are able to specify what fields they need.Copyright © 2015 The Apache Software Foundation