public interface ICommitter
Modifier and Type | Method and Description |
---|---|
void |
add(String reference,
InputStream content,
com.norconex.commons.lang.map.Properties metadata)
Adds a new or modified document to the target destination.
|
void |
commit()
Commits documents.
|
void |
remove(String reference,
com.norconex.commons.lang.map.Properties metadata)
Removes a document from the target destination.
|
void add(String reference, InputStream content, com.norconex.commons.lang.map.Properties metadata)
reference
- document reference (e.g. URL)content
- document contentmetadata
- document metadatavoid remove(String reference, com.norconex.commons.lang.map.Properties metadata)
reference
- document reference (e.g. URL)metadata
- document metadatavoid commit()
Copyright © 2009–2020 Norconex Inc.. All rights reserved.