FileMetadataCantHaveRegex

A list of regular expressions. The connector checks the value of a field specified by FileMetadataCantHaveName against the corresponding regular expression specified by this parameter. If the entire value of any specified field matches its corresponding regular expression, the document is not downloaded and ingested.

You can specify a comma-separated list of regular expressions, or use numbered parameters (FileMetadataCantHaveRegex0, FileMetadataCantHaveRegex1 and so on).

To configure whether regular expressions are case-sensitive, set RegexCaseInsensitive.

Type: List of regular expressions
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

In the following example, a document is not ingested if the field "FirstField" has the value "ELEPHANT", or if the field "SecondField" includes the word "TIGER".

FileMetadataCantHaveName0=FirstField
FileMetadataCantHaveName1=SecondField
FileMetadataCantHaveRegex0=ELEPHANT
FileMetadataCantHaveRegex1=.*TIGER.*

See Also: FileMetadataCantHaveName