[6576] | 1 | <html>
|
---|
| 2 | <head>
|
---|
| 3 | <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
---|
| 4 | <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
|
---|
| 5 | <title>The Greenstone Librarian Interface - Help Pages</title>
|
---|
| 6 | </head>
|
---|
| 7 | <body bgcolor="#E0F0E0">
|
---|
| 8 | <table width="100%" cellspacing="0" cellpadding="5" bgcolor="#B0D0B0" border="2">
|
---|
| 9 | <tr>
|
---|
| 10 | <td width="15%" align="center"><img width="45" src="../gatherer_medium.gif" height="45"></td><td width="*" align="center"><a name="definefilters"><font size="5" face="Verdana"><strong>7.6.1: Define Filters</strong></font></a></td><td width="15%" align="center"><img width="45" src="../gatherer_medium.gif" height="45"></td>
|
---|
| 11 | </tr>
|
---|
| 12 | </table>
|
---|
| 13 |
|
---|
| 14 | The section explains how to define a partition filter.
|
---|
| 15 | <p></p>
|
---|
| 16 | <table bgcolor="#B0D0B0" width="480" cellpadding="2" border="2" align="center">
|
---|
| 17 | <tr>
|
---|
| 18 | <td align="center"><font size="4" face="Verdana"><strong>
|
---|
| 19 | Contents
|
---|
| 20 | </strong></font></td>
|
---|
| 21 | </tr>
|
---|
| 22 | <tr>
|
---|
| 23 | <td>
|
---|
| 24 | <table width="100%" cellpadding="2" border="0" bgcolor="#FFFFFF">
|
---|
| 25 |
|
---|
| 26 | <tr>
|
---|
| 27 | <td colspan="3"><a href="#simple">Simple Instructions:</a></td>
|
---|
| 28 | </tr>
|
---|
| 29 |
|
---|
| 30 | <tr>
|
---|
| 31 | <td colspan="1"> </td><td colspan="2">
|
---|
| 32 | Add a filter
|
---|
| 33 | </td>
|
---|
| 34 | </tr>
|
---|
| 35 |
|
---|
| 36 | <tr>
|
---|
| 37 | <td colspan="1"> </td><td colspan="2">
|
---|
| 38 | Remove a filter
|
---|
| 39 | </td>
|
---|
| 40 | </tr>
|
---|
| 41 |
|
---|
| 42 | <tr>
|
---|
| 43 | <td colspan="1"> </td><td colspan="2">
|
---|
| 44 | Update a filter
|
---|
| 45 | </td>
|
---|
| 46 | </tr>
|
---|
| 47 |
|
---|
| 48 |
|
---|
| 49 | </table>
|
---|
| 50 | </td>
|
---|
| 51 | </tr>
|
---|
| 52 | </table>
|
---|
| 53 | <p></p>
|
---|
| 54 |
|
---|
| 55 | <p></p>
|
---|
| 56 | <img width="20" src="../gatherer_small.gif" height="20"><a name="simple"> Simple Instructions:</a>
|
---|
| 57 | <p style="text-align:justify"></p>
|
---|
| 58 | Filters allows you to group together into a subcollection all documents in an
|
---|
| 59 | index for which a metadata value matches a given pattern.
|
---|
| 60 | <p></p>
|
---|
| 61 | To create a filter, click the "Define Filters" tab and enter a name for the
|
---|
| 62 | new filter into the "Name the subcollection filter" field. Next choose a
|
---|
| 63 | document attribute to match against, either a metadata element or the name of
|
---|
| 64 | the file in question. Enter a regular expression to use during the matching.
|
---|
| 65 | You can toggle between "Including" documents that match the filter, or
|
---|
| 66 | "Excluding" them. Finally, you can specify any of the standard PERL regular
|
---|
| 67 | expression flags to use when matching (e.g. "i" for case-insensitive matching).
|
---|
| 68 | Finally, click "Add Filter" to add the filter to the "Defined Subcollection Filters"
|
---|
| 69 | list.
|
---|
| 70 | <p></p>
|
---|
| 71 | To remove a filter, select it from the list and click "Remove Filter".
|
---|
| 72 | <p></p>
|
---|
| 73 | To alter a filter, select it from the list, change any of the values that
|
---|
| 74 | appear in the editing controls and click "Replace Filter" to commit the changes.
|
---|
| 75 | </body>
|
---|
| 76 | </html>
|
---|