MCPcopy Create free account
hub / github.com/apache/nutch / IndexWriter

Interface IndexWriter

src/java/org/apache/nutch/indexer/IndexWriter.java:26–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24import org.apache.nutch.plugin.Pluggable;
25
26public interface IndexWriter extends Configurable, Pluggable {
27 /** The name of the extension point. */
28 final static String X_POINT_ID = IndexWriter.class.getName();
29
30 public void open(Configuration job) throws IOException;
31
32 public void write(NutchDocument doc) throws IOException;
33
34 public void delete(String key) throws IOException;
35
36 public void update(NutchDocument doc) throws IOException;
37
38 public void commit() throws IOException;
39
40 public void close() throws IOException;
41
42 /**
43 * Returns a String describing the IndexWriter instance and the specific
44 * parameters it can take
45 */
46 public String describe();
47}

Callers 27

ArcRecordReaderMethod · 0.65
openMethod · 0.65
setupMethod · 0.65
retrieveFileMethod · 0.65
setUpMethod · 0.65
HttpResponseMethod · 0.65
HttpResponseMethod · 0.65
readPlainContentMethod · 0.65
readChunkedContentMethod · 0.65
pageTestMethod · 0.65
createPluginManifestMethod · 0.65
deleteMethod · 0.65

Implementers 5

SolrIndexWritersrc/plugin/indexer-solr/src/java/org/a
HBaseIndexWritersrc/plugin/indexer-hbase/src/java/org/
ElasticIndexWritersrc/plugin/indexer-elastic2/src/java/o
ElasticIndexWritersrc/plugin/indexer-elastic/src/java/or
IndexWriterssrc/java/org/apache/nutch/indexer/Inde

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected