source: trunk/gli/help/7-4.htm@ 4565

Last change on this file since 4565 was 4293, checked in by jmt12, 21 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 7.9 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4<title>The Gatherer - Help Pages</title>
5</head>
6<body bgcolor="#E0F0E0" link="#000000" vlink="#000000">
7<table border="2" bgcolor="#B0D0B0" cellpadding="5" cellspacing="0" width="100%">
8 <tr>
9 <td align="center" width="15%">
10 <img height="45" src="gatherer_medium.gif" width="45">
11 </td>
12 <td align="center" width="*">
13 <font face="Verdana" size="5">
14 <strong>
157.4 Sub-collections
16 </strong>
17 </font>
18 </td>
19 <td align="center" width="15%">
20 <img height="45" src="gatherer_medium.gif" width="45">
21 </td>
22 </tr>
23 <tr bgcolor="#E0F0E0">
24 <td colspan="3" width="100%">
25 <font face="Verdana" size="3">
26<p style="text-align:justify">
27This section describes how to create sub-collections within a collection, and how to create indexes upon these sub-collections.
28</p>
29
30 </font>
31 </td>
32 </tr>
33 <tr bgcolor="#E0F0E0">
34 <td align="center" colspan="3" width="100%">
35 <table border="2" cellpadding="2" width="480" bgcolor="#B0D0B0">
36 <tr>
37 <td align="center">
38 <font face="Verdana" size="4">
39 <strong>
40 Contents
41 </strong>
42 </font>
43 </td>
44 </tr>
45 <tr>
46 <td>
47 <table background="gatherer.gif" bgcolor="#FFFFFF" border="0" cellpadding="2" width="100%">
48 <tr>
49 <td colspan="3">
50 <font face="Verdana" size="4">
51 <strong>
52<a href="#SI">Simple instructions</a>
53 </strong>
54 </a>
55 </font>
56 </td>
57 </tr>
58 <tr>
59 <td>
60 &nbsp;
61 </td>
62 <td colspan="2">
63 <font face="Verdana" size="4">
64Sub-collection controls
65 </font>
66 </a>
67 </td>
68 </tr>
69 <tr>
70 <td>
71 &nbsp;
72 </td>
73 <td colspan="2">
74 <font face="Verdana" size="4">
75Add a sub-collection
76 </font>
77 </a>
78 </td>
79 </tr>
80 <tr>
81 <td>
82 &nbsp;
83 </td>
84 <td colspan="2">
85 <font face="Verdana" size="4">
86Remove a sub-collection
87 </font>
88 </a>
89 </td>
90 </tr>
91 <tr>
92 <td colspan="3">
93 <font face="Verdana" size="4">
94 <strong>
95<a href="#AI">Advanced instructions</a>
96 </strong>
97 </a>
98 </font>
99 </td>
100 </tr>
101 <tr>
102 <td>
103 &nbsp;
104 </td>
105 <td colspan="2">
106 <font face="Verdana" size="4">
107Sub-index controls
108 </font>
109 </a>
110 </td>
111 </tr>
112 <tr>
113 <td>
114 &nbsp;
115 </td>
116 <td colspan="2">
117 <font face="Verdana" size="4">
118Add a sub-index
119 </font>
120 </a>
121 </td>
122 </tr>
123 <tr>
124 <td>
125 &nbsp;
126 </td>
127 <td colspan="2">
128 <font face="Verdana" size="4">
129Remove a sub-index
130 </font>
131 </a>
132 </td>
133 </tr>
134 <tr>
135 <td>
136 &nbsp;
137 </td>
138 <td colspan="2">
139 <font face="Verdana" size="4">
140Set default sub-index
141 </font>
142 </a>
143 </td>
144 </tr>
145 <tr>
146 <td>
147 &nbsp;
148 </td>
149 <td colspan="2">
150 <font face="Verdana" size="4">
151Clear default sub-index
152 </font>
153 </a>
154 </td>
155 </tr>
156 </font>
157 </table>
158 </td>
159 </tr>
160 </table>
161 </td>
162 </tr>
163 <tr bgcolor="#E0F0E0">
164 <td colspan="3" width="100%">
165 <img height="20" src="gatherer_small.gif" width="20">
166 <font face="Verdana" size="4">
167 <u>
168<a name="SI">Simple Instructions:</a>
169 </u>
170 <font size="3">
171<p style="text-align:justify">
172The Sub-collections feature allows you to group together all documents in a collection for which a specified metadata value matches a given pattern. Within this section are two related views, chosen by clicking the appropriate tab on the tabbed pane. The Sub-collection Controls are discussed here, while the Sub-index Controls are relegated to the 'advanced topics' below.
173</p>
174<p style="text-align:justify">
175To add a new sub-collection, first give it a name by typing into the name field. Next, choose what part of the documents must match in order to belong to this sub-collection. You can choose any metadata, or the name of the file in question. Next, enter a regular expression that will be used in the match. You can toggle between [I]ncluding documents that match the filter, or e[X]cluding them. Finally, you can specify flags to be set while matching. These may be any of the standard PERL regular expression flags, such as 'i' for case-insensitive matching; alternatively just leave this field blank. Once you have filled out these fields, click on the [A]dd New Sub-collection button to add the sub-collection to the list. This list contains the sub-collection commands exactly as they appear in the collection configuration file.
176</p>
177<p style="text-align:justify">
178To remove a sub-collection, select it from the list of assigned sub-collections and click [R]emove Selected Sub-collection.
179</p>
180
181 </font>
182 </p>
183 </td>
184 </tr>
185 <tr bgcolor="#E0F0E0">
186 <td colspan="3" width="100%">
187 <img height="20" src="gatherer_small.gif" width="20">
188 <font face="Verdana" size="4">
189 <u>
190<a name="AI">Advanced Instructions:</a>
191 </u>
192 <font size="3">
193<p style="text-align:justify">
194Once you have a sub-collection you can instruct Greenstone to build indexes specifically for that sub-collection, or for a group of sub-collections. To do this, click on the Sub-index Controls tab. The centre of the pane changes to show two lists, a field and four buttons. The upper list shows all currently assigned Sub-collections. Below it is a list of groupings for which you can build indexes. The field shows the current default sub-collection sub-index. Note that sub-indexes are not the same as indexes.
195</p>
196<p style="text-align:justify">
197To assign a sub-index, select the desired sub-collection or sub-collections from the upper list, using multiple selection methods as necessary. Now click [A]dd Selected As New Sub-index, and a new grouping for the selected sub-collections will appear in the assigned sub-indexes.
198</p>
199<p style="text-align:justify">
200Remove an existing sub-index group be first selecting it from the sub-index list, then clicking the [R]emove Selected Sub-index.
201</p>
202<p style="text-align:justify">
203You can make a particular sub-index the default by selecting it from the list of sub-indexes, then click [S]et Default Sub-index. The grouping of the selected sub-index will appear in the default sub-index field.
204</p>
205<p style="text-align:justify">
206To clear the default sub-index, click [C]lear Default Sub-index.
207</p>
208
209 </font>
210 </p>
211 </td>
212 </tr>
213</table>
214&nbsp;<br>
215&nbsp;<br>
216&nbsp;<br>
217&nbsp;<br>
218&nbsp;<br>
219&nbsp;<br>
220&nbsp;<br>
221&nbsp;<br>
222&nbsp;<br>
223&nbsp;<br>
224&nbsp;<br>
225&nbsp;<br>
226&nbsp;<br>
227&nbsp;<br>
228&nbsp;<br>
229&nbsp;<br>
230&nbsp;<br>
231&nbsp;<br>
232&nbsp;<br>
233&nbsp;<br>
234&nbsp;<br>
235&nbsp;<br>
236&nbsp;<br>
237&nbsp;<br>
238&nbsp;<br>
239&nbsp;<br>
240&nbsp;<br>
241&nbsp;<br>
242&nbsp;<br>
243&nbsp;<br>
244&nbsp;<br>
245&nbsp;<br>
246</body>
247</html>
Note: See TracBrowser for help on using the repository browser.