What does a library need after you change a data source?
Short answer
- Rename only: libraries aren't affected. Nothing to do
- Change the connection settings (IP address, username, password, or shared folder): DocLake doesn't reindex automatically. For each library that uses this data source, check on its Settings tab that the source folders are still correct, then run Reindex manually
- Delete the data source: not possible while a library uses it
- Remove a source folder from a library: the folder's documents are deleted from the library at once. Until the search index is rebuilt, the library can't be searched or used for AI Q&A
Details
Change a data source's connection settings
In Data Source Connector, click Edit on the data source. If you change the IP Address, Username, or Shared Folder, you must enter the Password again. If you change only the Name, you can leave the password empty.
If a library is using this data source, the page warns you before saving: "This data source is used by the following libraries: <libraries>. After saving these changes, you'll need to update the folder settings for these libraries and manually trigger a reindex. Do you want to continue?"
After you save, DocLake checks the connection again, and the data source's Status shows Checking first. Then, for each affected library:
- Open the library's Settings tab and check that every folder under Source Folders can be read. A folder that can't be read shows "Unable to read this folder."
- Remove the folders that can't be read, or choose new ones, then click Save
- Click Reindex
Delete a data source
In Data Source Connector, click Delete on the data source. If any library has a source folder that uses it, you can't delete it, and the page shows "This data source is used by "<library>" and cannot be deleted." When several libraries use it, the message names one of them and the total.
First delete those libraries, or remove the folders from this data source on each library's Settings tab, then delete the data source. Deletion can't be undone, and you can no longer create libraries with this connection.
Add or remove a library's source folders
On the library's Settings tab, add or remove folders under Source Folders, then click Save:
| Change | Result |
|---|---|
| Add a folder | Indexed right away or at the next scheduled sync, depending on what you choose in the confirmation dialog when saving. See below |
| Remove a folder | The folder's documents are deleted from the library at once. The original files on the NAS are not affected. Any index task in progress is canceled |
| Folders you keep | Not affected |
When the source folders change, the page asks before saving whether to reindex now:
- With Sync Schedule enabled, it shows "Source folders have changed. Do you want to reindex now? If you skip, the folders will be rescanned at the next scheduled sync." Click Reindex Now to cancel running and queued tasks and start a new sync, or click Skip to wait for the next scheduled sync
- With Sync Schedule not enabled, it shows "The new source folders will be reindexed right after saving. Do you want to continue?" Click Save to start the sync right away
Keep at least one source folder. Folders from the same data source can't contain each other. For example, you can't select both Contracts and Contracts/2026.
How to check
- Go to Data → Data Source Connector and check that the data source's Status is Available
- Go to Data → Library. The Data Source column shows the data source each library uses
- Open the library's Settings tab. The Data Source section shows the status of each data source: Available, Disconnected, or Checking

Related articles
Formats and limits
The file formats DocLake can index, files that aren't indexed, upload and capacity limits, and limits for libraries and NAS sync
Search methods
The two search methods in File Search: fuzzy search ranks relevant files by words and meaning, while keyword search lists only files that contain every search term

