org.apache.nutch.indexer.solr
Class SolrIndexer
java.lang.Object
org.apache.hadoop.conf.Configured
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static org.apache.commons.logging.Log LOG
SolrIndexer
public SolrIndexer()
SolrIndexer
public SolrIndexer(Configuration conf)
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