Excluding Folder Locations
When indexing a folder location, you can now use custom filters to exclude specific sub-folders and prevent them from being indexed.  This approach is much more efficient than indexing all folder content and then removing specific items from the index later, which may be quite difficult, depending on the nature of the data and your particular folder structure.Â
To exclude folder locations, you need to
Identify the location(s) that you wish to exclude
Add the top-level folder containing those sub-folders
Configure a custom filter for the top-level folder location
Begin indexing
Identifying Locations to be Excluded
To begin, identify the specific sub-folder locations you wish to exclude from indexing, for example in the folder WORLD, the folders indicated in red (AFRICA, ANTARCTICA, ASIA, EUROPE, OCEANIA and SA) should not be indexed.
Â
Adding the Top-level Location
The next step is to add the top-level folder location:
Go to Manage > Discovery > Locations
Click New Location
Select Folder
Navigate to the desired folder, in this case the WORLD folder.
Click Add
Configuring the Custom Filter for the Top-level Location
When you have added the top-level folder, you need to configure a custom filter that will exclude the desired sub-folders.
Click the Edit icon to bring up that location's Management page
Select the Formats tab and un-check Use Default Settings - this brings up the Index, Extractand Advanced tabs
Select the Advanced tab (the Index and Extract tabs are use for exclusion based on file format).Â
Select Custom from the Filter options
Click Example (1) at the bottom of the page to bring up the default filter configuration
In the default configuration, change the Type from "Field" to "Folder"
Delete the default entries under val
Enter the folder names to exclude under val
Delete the type and pattern fields
The custom filter should look like the following:
Click Save
If the filter is correctly configured, a confirmation message in green will appear, as show below:
Scan (Index)Â the Top-level Location
When you have completed the custom filter configuration, Voyager should now only index the selected items from the folder and exclude the specified folders.
Notes:Â
Folder names are case-sensitive
Ensure that filter settings are saved before scanning/indexing
To configure global exclusion settings:
Go to Manage > Discovery> Discovery Configuration
Select Advanced from the Formats tab
Select Custom and proceed as above