Operation | Description |
---|---|
AddDocument | Creates a document including the parts, URI, metas, etc. |
GetDocumentStatus | Using the documents URIs, it retrieves the stamps and their statuses to determine the statuses of documents. |
Delete | The following methods are available: • delete a document identified by its URI. • deleteDocumentRootPath – deletes a collection of documents (recursively or not) matching a given root path. The hierarchy is based on the slashes “/”of the URI. • deleteDocumentsWithPrefix – deletes all child documents under a root prefix. This method is useful if the document hierarchy is not based on slashes, but can be risky as it does not have any filtering mechanism. For example, if you have the following documents: ◦ eno:bo:master ◦ eno:bo:masterpart ◦ eno:bo:masterpart:subpart1 ◦ eno:bo:master:subpart2 Using deleteDocumentsWithPrefix(“eno:bo:master”) will delete all documents with this prefix, even if you want to delete eno:bo:master and eno:bo:master:subpart2 only. |
Enumerate | Lists the Exalead CloudView documents and their stamps, given a URI prefix (recursively or not). |
Checkpoints | Sets, retrieves or removes checkpoints. For example, to perform incremental updates easily. |
UpdateDocument | Updates a document including parts and metas. |
Status | Description |
---|---|
Initial | Data is only in the source (not already sent to the index by the connector). |
Pushed | The document has been received by the Exalead CloudView index, but can be lost if a crash occurs before the sync. All Add(), Delete() operations create a document in the Pushed state. GetDocumentStatus(), GetCheckpoint(), EnumerateCheckpointsInfo() operate on documents pushed, synced, and searchable. |
Synced | The document has been securely synced to disk. This guarantees crash-proofness. Documents cannot be lost. EnumeratesSyncedEntries() operates on document synced. |
Searchable | The document can be found at search time. |