filecopy.source

This is the file system path or URL that describes the source of data files.

Key: `filecopy.source`
Type: `List<String>`
Can be set in: collection.cfg

Description

This option sets the file system path to the source of the data files for filecopy collections. 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.

Caveats

• Only for filecopy collections.
• 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

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
``````