public class TLDIndexingFilter extends java.lang.Object implements IndexingFilter
X_POINT_ID
Constructor and Description |
---|
TLDIndexingFilter() |
Modifier and Type | Method and Description |
---|---|
NutchDocument |
filter(NutchDocument doc,
java.lang.String url,
WebPage page)
Adds fields or otherwise modifies the document that will be indexed for a
parse.
|
Configuration |
getConf() |
java.util.Collection<WebPage.Field> |
getFields() |
void |
setConf(Configuration conf) |
public NutchDocument filter(NutchDocument doc, java.lang.String url, WebPage page) throws IndexingException
IndexingFilter
filter
in interface IndexingFilter
doc
- document instance for collecting fieldsurl
- page urlIndexingException
public void setConf(Configuration conf)
setConf
in interface Configurable
public Configuration getConf()
getConf
in interface Configurable
public java.util.Collection<WebPage.Field> getFields()
getFields
in interface FieldPluggable
Copyright © 2019 The Apache Software Foundation