exclusionPatterns property

List<String>? exclusionPatterns
final

List of regular expressions applied to documents. Items that match the exclusion pattern are not indexed. If you provide both an inclusion pattern and an exclusion pattern, any item that matches the exclusion pattern isn't indexed.

The exclusion pattern is applied to the file name.

Implementation

final List<String>? exclusionPatterns;