org.apache.nutch.indexer
Class IndexingFiltersChecker

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.nutch.indexer.IndexingFiltersChecker
All Implemented Interfaces:
Configurable, Tool

public class IndexingFiltersChecker
extends Configured
implements 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
static org.slf4j.Logger LOG
           
 
Constructor Summary
IndexingFiltersChecker()
           
 
Method Summary
 Configuration getConf()
           
static void main(String[] args)
           
 int run(String[] args)
           
 void setConf(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:
run in interface Tool
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

getConf

public Configuration getConf()
Specified by:
getConf in interface Configurable
Overrides:
getConf in class Configured

setConf

public void setConf(Configuration arg0)
Specified by:
setConf in interface Configurable
Overrides:
setConf in class Configured


Copyright © 2011 The Apache Software Foundation