public class IndexWriters extends Object
IndexWriter implementing plugins.| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
IndexWriters(org.apache.hadoop.conf.Configuration conf) |
public void open(org.apache.hadoop.mapred.JobConf job,
String name)
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 © 2014 The Apache Software Foundation