Package org.apache.nutch.indexer
Class IndexingFiltersChecker
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.nutch.util.AbstractChecker
org.apache.nutch.indexer.IndexingFiltersChecker
- All Implemented Interfaces:
Configurable,Tool
Reads and parses a URL and run the indexers on it. Displays the fields
obtained and the first 100 characters of their value
Tested with e.g.
echo "http://www.lemonde.fr" | $NUTCH_HOME/bin/nutch indexchecker -stdin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected booleanprotected booleanprotected URLNormalizersFields inherited from class org.apache.nutch.util.AbstractChecker
keepClientCnxOpen, stdin, tcpPort, usage -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.nutch.util.AbstractChecker
getProtocolOutput, parseArgs, processSingle, processStdin, processTCP, runMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
-
Field Details
-
normalizers
-
dumpText
protected boolean dumpText -
followRedirects
protected boolean followRedirects -
checkRobotsTxt
protected boolean checkRobotsTxt -
doIndex
protected boolean doIndex -
metadata
-
-
Constructor Details
-
IndexingFiltersChecker
public IndexingFiltersChecker()
-
-
Method Details
-
run
- Throws:
Exception
-
process
- Specified by:
processin classAbstractChecker- Throws:
Exception
-
main
- Throws:
Exception
-