public class MetadataIndexer extends Object implements IndexingFilter
X_POINT_ID
Constructor and Description |
---|
MetadataIndexer() |
Modifier and Type | Method and Description |
---|---|
NutchDocument |
filter(NutchDocument doc,
String url,
WebPage page)
Adds fields or otherwise modifies the document that will be indexed for a
parse.
|
Configuration |
getConf() |
Collection<WebPage.Field> |
getFields() |
void |
setConf(Configuration conf) |
public NutchDocument filter(NutchDocument doc, 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 Collection<WebPage.Field> getFields()
getFields
in interface FieldPluggable
Copyright © 2015 The Apache Software Foundation