public interface IndexWriter extends Pluggable, org.apache.hadoop.conf.Configurable
Modifier and Type | Field and Description |
---|---|
static String |
X_POINT_ID
The name of the extension point.
|
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
|
void |
open(org.apache.hadoop.mapred.JobConf job,
String name) |
void |
update(NutchDocument doc) |
void |
write(NutchDocument doc) |
static final String X_POINT_ID
void open(org.apache.hadoop.mapred.JobConf job, String name) throws IOException
IOException
void write(NutchDocument doc) throws IOException
IOException
void delete(String key) throws IOException
IOException
void update(NutchDocument doc) throws IOException
IOException
void commit() throws IOException
IOException
void close() throws IOException
IOException
String describe()
Copyright © 2014 The Apache Software Foundation