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 IndexWriterIOExceptionpublic void delete(String key) throws IOException
delete in interface IndexWriterIOExceptionpublic void update(NutchDocument doc) throws IOException
update in interface IndexWriterIOExceptionpublic void write(NutchDocument doc) throws IOException
write in interface IndexWriterIOExceptionpublic void close()
throws IOException
close in interface IndexWriterIOExceptionpublic void commit()
throws IOException
commit in interface IndexWriterIOExceptionpublic static IOException makeIOException(SolrServerException e)
public org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic String describe()
IndexWriterdescribe in interface IndexWriterCopyright © 2014 The Apache Software Foundation