filecopy.source

Background

This option sets the file system path to the source of the data files for file system data sources. This can be any of: an absolute local path (Linux), an absolute UNC path (Windows), or a URL with one of the supported URL schemes (file and smb).

Multiple sources can be specified by separating with commas.

Notes:

  • Only for file system data sources.

  • For indexing Windows file shares it is recommended to use smb:// urls rather than UNC paths. e.g. smb://server/directory/ rather than \\server\directory

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the filecopy.source key, and set the value. This can be set to any valid List<String> value.

Default value

(none, set when creating the collection)

Examples

filecopy.source=/var/data/shakespeare
filecopy.source=G:\data
filecopy.source=\\afileserver\plays\shakespeare,\\afileserver\sharedfiles
filecopy.source=file:///var/data/shakespeare
filecopy.source=smb://afileserver/plays/shakespeare