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
IOExceptionvoid write(NutchDocument doc) throws IOException
IOExceptionvoid delete(String key) throws IOException
IOExceptionvoid update(NutchDocument doc) throws IOException
IOExceptionvoid commit()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionString describe()
Copyright © 2014 The Apache Software Foundation