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:
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
static org.slf4j.Logger LOG
           
 
Constructor Summary
IndexingFiltersChecker()
           
 
Method Summary
 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:
run in interface org.apache.hadoop.util.Tool
Throws:
Exception

main

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

getConf

public org.apache.hadoop.conf.Configuration getConf()
Specified by:
getConf in interface org.apache.hadoop.conf.Configurable
Overrides:
getConf in class org.apache.hadoop.conf.Configured

setConf

public void setConf(org.apache.hadoop.conf.Configuration arg0)
Specified by:
setConf in interface org.apache.hadoop.conf.Configurable
Overrides:
setConf in class org.apache.hadoop.conf.Configured


Copyright © 2013 The Apache Software Foundation