public interface IndexWriter extends Pluggable, Configurable
| 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(JobConf job,
java.lang.String name) |
void |
update(NutchDocument doc) |
void |
write(NutchDocument doc) |
getConf, setConfvoid open(JobConf job, java.lang.String name) 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 © 2017 The Apache Software Foundation