org.apache.nutch.indexer
Class IndexingFiltersChecker
- java.lang.Object
- org.apache.hadoop.conf.Configured
- org.apache.nutch.indexer.IndexingFiltersChecker
- All Implemented Interfaces:
- org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool
public class IndexingFiltersChecker extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.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. ./nutch org.apache.nutch.indexer.IndexingFiltersChecker http://www.lemonde.fr
- Author:
- Julien Nioche
Field Summary
Fields Modifier and Type Field and Description static org.slf4j.Logger
LOG
Constructor Summary
Constructors Constructor and Description IndexingFiltersChecker()
Method Summary
Methods Modifier and Type Method and Description org.apache.hadoop.conf.Configuration
getConf()
static void
main(String[] args)
int
run(String[] args)
void
setConf(org.apache.hadoop.conf.Configuration arg0)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail
-
LOG
public static final org.slf4j.Logger LOG
Constructor Detail
-
IndexingFiltersChecker
public IndexingFiltersChecker()
Method Detail
-
run
public int run(String[] args) throws Exception
- Specified by:
- <code>run</code> in interface <code>org.apache.hadoop.util.Tool</code>
- Throws:
- <code>Exception</code>
-
main
public static void main(String[] args) throws Exception
- Throws:
- <code>Exception</code>
-
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
- <code>getConf</code> in interface <code>org.apache.hadoop.conf.Configurable</code>
- Overrides:
- <code>getConf</code> in class <code>org.apache.hadoop.conf.Configured</code>
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration arg0)
- Specified by:
- <code>setConf</code> in interface <code>org.apache.hadoop.conf.Configurable</code>
- Overrides:
- <code>setConf</code> in class <code>org.apache.hadoop.conf.Configured</code>