source: trunk/gli/help/en/definefilters.htm@ 7017

Last change on this file since 7017 was 7017, checked in by kjdon, 20 years ago

deleted the previously commented out bits, and commented out all references to mirroring, cos this is not advertised for 2.50

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