public class SolrIndexWriter extends Object implements IndexWriter
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
X_POINT_ID
Constructor and Description |
---|
SolrIndexWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
commit() |
void |
delete(String key) |
String |
describe()
Returns a String describing the IndexWriter instance and the specific parameters it can take
|
org.apache.hadoop.conf.Configuration |
getConf() |
static IOException |
makeIOException(SolrServerException e) |
void |
open(org.apache.hadoop.mapred.JobConf job,
String name) |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
void |
update(NutchDocument doc) |
void |
write(NutchDocument doc) |
public void open(org.apache.hadoop.mapred.JobConf job, String name) throws IOException
open
in interface IndexWriter
IOException
public void delete(String key) throws IOException
delete
in interface IndexWriter
IOException
public void update(NutchDocument doc) throws IOException
update
in interface IndexWriter
IOException
public void write(NutchDocument doc) throws IOException
write
in interface IndexWriter
IOException
public void close() throws IOException
close
in interface IndexWriter
IOException
public void commit() throws IOException
commit
in interface IndexWriter
IOException
public static IOException makeIOException(SolrServerException e)
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public String describe()
IndexWriter
describe
in interface IndexWriter
Copyright © 2014 The Apache Software Foundation