public interface IndexWriter extends Configurable, Pluggable
| 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(Configuration job) |
void |
update(NutchDocument doc) |
void |
write(NutchDocument doc) |
getConf, setConfstatic final String X_POINT_ID
void open(Configuration job) 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 © 2015 The Apache Software Foundation