|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICommitter
Commits documents to their final destination (e.g. search engine).
Field Summary | |
---|---|
static String |
DEFAULT_DOCUMENT_REFERENCE
The default document unique identifier (reference) is " doc.reference ". |
Method Summary | |
---|---|
void |
commit()
Commits queued documents. |
void |
queueAdd(String reference,
File document,
Properties metadata)
Queues a new or modified document. |
void |
queueRemove(String reference,
File document,
Properties metadata)
Queues a document for removal. |
Field Detail |
---|
static final String DEFAULT_DOCUMENT_REFERENCE
doc.reference
". This value is set by default
when using the Norconex Importer module. Concrete
implementations should offer to overwrite this default value when
appropriate.
Method Detail |
---|
void queueAdd(String reference, File document, Properties metadata)
reference
- document reference (e.g. URL)document
- text documentmetadata
- document metadatavoid queueRemove(String reference, File document, Properties metadata)
reference
- document reference (e.g. URL)document
- text documentmetadata
- document metadatavoid commit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |