public interface IndexWriter extends Configurable, Pluggable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
X_POINT_ID
The name of the extension point.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
commit() |
void |
delete(java.lang.String key) |
java.lang.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, setConf
void open(Configuration job) throws java.io.IOException
java.io.IOException
void write(NutchDocument doc) throws java.io.IOException
java.io.IOException
void delete(java.lang.String key) throws java.io.IOException
java.io.IOException
void update(NutchDocument doc) throws java.io.IOException
java.io.IOException
void commit() throws java.io.IOException
java.io.IOException
void close() throws java.io.IOException
java.io.IOException
java.lang.String describe()
Copyright © 2019 The Apache Software Foundation