org.apache.nutch.indexer.solr
Class SolrIndexer

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

public class SolrIndexer
extends Configured
implements Tool


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
SolrIndexer()
           
SolrIndexer(Configuration conf)
           
 
Method Summary
 void indexSolr(String solrUrl, Path crawlDb, Path linkDb, List<Path> segments)
           
static void main(String[] args)
           
 int run(String[] args)
           
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.conf.Configurable
getConf, setConf
 

Field Detail

LOG

public static org.apache.commons.logging.Log LOG
Constructor Detail

SolrIndexer

public SolrIndexer()

SolrIndexer

public SolrIndexer(Configuration conf)
Method Detail

indexSolr

public void indexSolr(String solrUrl,
                      Path crawlDb,
                      Path linkDb,
                      List<Path> segments)
               throws IOException
Throws:
IOException

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


Copyright © 2011 The Apache Software Foundation