filecopy.include_pattern
Background
This option allows a regular expression to be specified that will be used to include certain files in your index. When this option is specified, only those files whose name matches the regular expression will be copied and indexed. All other files will be excluded. When this option is not specified, all files are included.
Notes:
-
Only for file system data source
-
The regular expression must match the entire name of the file. Note in the example the .* at the end of the include pattern
-
The regular expression must match the internal name that is used in copying. This will not be a standard windows, UNC or unix path. It will either be a 'file' or 'smb' URL. e.g. file:///c:/documents/file.txt or smb://file-server/dir/file.txt