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, setConfvoid open(Configuration job) throws java.io.IOException
java.io.IOExceptionvoid write(NutchDocument doc) throws java.io.IOException
java.io.IOExceptionvoid delete(java.lang.String key)
throws java.io.IOException
java.io.IOExceptionvoid update(NutchDocument doc) throws java.io.IOException
java.io.IOExceptionvoid commit()
throws java.io.IOException
java.io.IOExceptionvoid close()
throws java.io.IOException
java.io.IOExceptionjava.lang.String describe()
Copyright © 2019 The Apache Software Foundation