org.apache.nutch.indexer.solr
Class SolrWriter

java.lang.Object
  extended by org.apache.nutch.indexer.solr.SolrWriter
All Implemented Interfaces:
NutchIndexWriter

public class SolrWriter
extends Object
implements NutchIndexWriter


Field Summary
static org.slf4j.Logger LOG
           
 
Constructor Summary
SolrWriter()
           
 
Method Summary
 void close()
           
static IOException makeIOException(org.apache.solr.client.solrj.SolrServerException e)
           
 void open(JobConf job, String name)
           
 void write(NutchDocument doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static org.slf4j.Logger LOG
Constructor Detail

SolrWriter

public SolrWriter()
Method Detail

open

public void open(JobConf job,
                 String name)
          throws IOException
Specified by:
open in interface NutchIndexWriter
Throws:
IOException

write

public void write(NutchDocument doc)
           throws IOException
Specified by:
write in interface NutchIndexWriter
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface NutchIndexWriter
Throws:
IOException

makeIOException

public static IOException makeIOException(org.apache.solr.client.solrj.SolrServerException e)


Copyright © 2011 The Apache Software Foundation