public class IndexWriters extends Object
IndexWriter implementing plugins.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
IndexWriters(Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
void |
delete(String key) |
String |
describe() |
void |
open(Configuration conf) |
void |
update(NutchDocument doc) |
void |
write(NutchDocument doc) |
public IndexWriters(Configuration conf)
public void open(Configuration conf) throws IOException
IOExceptionpublic void write(NutchDocument doc) throws IOException
IOExceptionpublic void update(NutchDocument doc) throws IOException
IOExceptionpublic void delete(String key) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void commit()
throws IOException
IOExceptionpublic String describe() throws IOException
IOExceptionCopyright © 2015 The Apache Software Foundation