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.slf4j.Logger LOG
           
 
Constructor Summary
SolrIndexer()
           
SolrIndexer(Configuration conf)
           
 
Method Summary
 void indexSolr(String solrUrl, Path crawlDb, Path linkDb, List<Path> segments)
           
 void indexSolr(String solrUrl, Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit)
           
 void indexSolr(String solrUrl, Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit, boolean deleteGone)
           
 void indexSolr(String solrUrl, Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit, boolean deleteGone, String solrParams)
           
 void indexSolr(String solrUrl, Path crawlDb, Path linkDb, List<Path> segments, boolean noCommit, boolean deleteGone, String solrParams, boolean filter, boolean normalize)
           
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.slf4j.Logger 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

indexSolr

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

indexSolr

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

indexSolr

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

indexSolr

public void indexSolr(String solrUrl,
                      Path crawlDb,
                      Path linkDb,
                      List<Path> segments,
                      boolean noCommit,
                      boolean deleteGone,
                      String solrParams,
                      boolean filter,
                      boolean normalize)
               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 © 2012 The Apache Software Foundation