Package org.apache.nutch.indexer
Class CleaningJob
java.lang.Object
org.apache.nutch.indexer.CleaningJob
- All Implemented Interfaces:
Configurable,Tool
The class scans CrawlDB looking for entries with status DB_GONE (404) or
DB_DUPLICATE and sends delete requests to indexers for those documents.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetConf()static voidintvoidsetConf(Configuration conf)
-
Constructor Details
-
CleaningJob
public CleaningJob()
-
-
Method Details
-
getConf
- Specified by:
getConfin interfaceConfigurable
-
setConf
- Specified by:
setConfin interfaceConfigurable
-
delete
public void delete(String crawldb, boolean noCommit) throws IOException, InterruptedException, ClassNotFoundException -
run
- Specified by:
runin interfaceTool- Throws:
IOException
-
main
- Throws:
Exception
-