public class IndexWriters
extends java.lang.Object
IndexWriter implementing plugins.| Constructor and Description |
|---|
IndexWriters(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
void |
delete(java.lang.String key) |
java.lang.String |
describe() |
void |
open(JobConf job,
java.lang.String name) |
void |
update(NutchDocument doc) |
void |
write(NutchDocument doc) |
public IndexWriters(Configuration conf)
public void open(JobConf job, java.lang.String name) throws java.io.IOException
java.io.IOExceptionpublic void write(NutchDocument doc) throws java.io.IOException
java.io.IOExceptionpublic void update(NutchDocument doc) throws java.io.IOException
java.io.IOExceptionpublic void delete(java.lang.String key)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic void commit()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String describe()
throws java.io.IOException
java.io.IOExceptionCopyright © 2017 The Apache Software Foundation