6.4.1: Define Filters |
Filters allow you to group together into a sub-collection all documents in an index for which a metadata value matches a given pattern.
To create a filter, click the "Define Filters" tab and enter a name for the new filter into the "Subcollection filter name:" field. Next choose a document attribute to match against, either a metadata element or the name of the file in question. Enter a regular expression to use during the matching. You can toggle between "Including" documents that match the filter, or "Excluding" them. Finally, you can specify any of the standard PERL regular expression flags to use when matching (e.g. "i" for case-insensitive matching). Finally, click "Add Filter" to add the filter to the "Defined Subcollection Filters" list.
To remove a filter, select it from the list and click "Remove Filter".
To alter a filter, select it from the list, change any of the values that appear in the editing controls and click "Replace Filter" to commit the changes.
Defining filters does not create sub-collections. Sub-collections are specified in the "Assign Partitions", based on the filters you have just defined.