ConnectorLib Java 25.1
ConnectorLib Java SDK Programming Guide

# Full and Incremental Synchronize

The `synchronize` action demonstrated in the sample code acts the same way every time it is called: the connector ingests every file in the repository. This is called a full synchronize, and a connector would typically do this the first time the `synchronize` action is used.

When the `synchronize` action runs again, it is more efficient to send ingest-add commands only for new files, send ingest-replace commands for modified files, send ingest-update commands for updates to metadata only, and send ingest-delete commands for deleted files. This is called an incremental synchronize.

To implement an incremental synchronize it is often useful to store state information, for example a list of files retrieved and the time when they were last modified. This information can then be compared to the files currently in the repository. For this purpose, ConnectorLib Java includes a feature called the Datastore.

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib Java 25.1

Topic Title: Full and Incremental Synchronize