root/CPS3/products/CPSLuceneCatalog/trunk/profiles/default/lucenecatalog.xml

Revision 50873, 4.5 kB (checked in by bdelbosc, 2 years ago)

Sort is done using modified time not Date which is CMF DublinCore? effective

Line 
1 <?xml version="1.0"?>
2 <object name="portal_catalog" meta_type="CPS Lucene Catalog Tool">
3
4   <!-- Properties -->
5
6   <property name="title">CPS Lucene Catalog Tool</property>
7   <property name="server_url">http://localhost:9180</property>
8
9
10   <!-- Fields -->
11
12   <!-- XXX missing CPS filter sets -->
13
14   <field
15       name="Creator"
16       attr="Creator"
17       type="Text"
18       analyzer="Standard"
19       />
20
21     <field
22     name="Date"
23     attr="Date"
24     type="Date"
25     analyzer="Standard"
26       />
27
28     <field
29     name="Description"
30     attr="Description"
31     type="Text"
32     analyzer="Standard"
33       />
34
35     <field
36     name="Language"
37     attr="Language"
38     type="Keyword"
39     analyzer="Standard"
40       />
41
42     <field
43     name="SearchableText"
44     attr="SearchableText"
45     type="UnStored"
46     analyzer="Standard"
47       />
48
49     <field
50     name="Subject"
51     attr="Subject"
52     type="MultiKeyword"
53     analyzer="Standard"
54       />
55
56     <field
57     name="Title"
58     attr="Title"
59     type="Text"
60     analyzer="Standard"
61     />
62
63     <field
64     name="allowedRolesAndUsers"
65     attr="allowedRolesAndUsers"
66     type="MultiKeyword"
67     analyzer="Standard"
68     />
69
70     <field
71     name="container_path"
72     attr="container_path"
73     type="Path"
74     analyzer="Standard"
75     />
76
77     <field
78     name="created"
79     attr="created"
80     type="Date"
81     analyzer="Standard"
82     />
83
84     <field
85     name="EffectiveDate"
86     attr="EffectiveDate"
87     type="Date"
88     analyzer="Standard"
89     />
90
91     <field
92     name="effective"
93     attr="effective"
94     type="Date"
95     analyzer="Standard"
96     />
97
98     <field
99     name="end"
100     attr="end"
101     type="Date"
102     analyzer="Standard"
103     />
104
105     <field
106     name="expires"
107     attr="expires"
108     type="Date"
109     analyzer="Standard"
110     />
111
112     <field
113     name="ExpirationDate"
114     attr="ExpirationDate"
115     type="Date"
116     analyzer="Standard"
117     />
118
119     <field
120     name="getId"
121     attr="getId"
122     type="Keyword"
123     analyzer="Standard"
124     />
125
126     <field
127     name="id"
128     attr="id"
129     type="Keyword"
130     analyzer="Standard"
131     />
132
133     <field
134     name="in_reply_to"
135     attr="in_reply_to"
136     type="Keyword"
137     analyzer="Standard"
138     />
139
140     <field
141     name="listCreators"
142     attr="listCreators"
143     type="MultiKeyword"
144     analyzer="Standard"
145     />
146
147     <field
148     name="localUsersWithRoles"
149     attr="localUsersWithRoles"
150     type="MultiKeyword"
151     analyzer="Standard"
152     />
153
154     <field
155     name="meta_type"
156     attr="meta_type"
157     type="Keyword"
158     analyzer="Standard"
159     />
160
161     <field
162     name="portal_type"
163     attr="portal_type"
164     type="Keyword"
165     analyzer="Standard"
166     />
167
168     <field
169     name="modified"
170     attr="modified"
171     type="Date"
172     analyzer="Standard"
173     />
174
175     <field
176     name="path"
177     attr="path"
178     type="Path"
179     analyzer="Standard"
180     />
181
182     <field
183     name="position_in_container"
184     attr="position_in_container"
185     type="Keyword"
186     analyzer="Standard"
187     />
188
189     <field
190     name="relative_path"
191     attr="relative_path"
192     type="Path"
193     analyzer="Standard"
194     />
195
196     <field
197     name="relative_path_depth"
198     attr="relative_path_depth"
199     type="Keyword"
200     analyzer="Standard"
201     />
202
203     <field
204     name="review_state"
205     attr="review_state"
206     type="Keyword"
207     analyzer="Standard"
208     />
209
210     <!-- an exact match on the container.
211      Used by catalog folder_contents -->
212     <field
213     name="container_path"
214     attr="container_path"
215     type="Keyword"
216     analyzer="Standard"
217     />
218
219     <field
220     name="start"
221     attr="start"
222     type="Date"
223     analyzer="Standard"
224     />
225
226     <field
227     name="time"
228     attr="time"
229     type="Date"
230     analyzer="Standard"
231     />
232
233
234   <!-- Special fields for sorting -->
235
236     <field
237     name="Title_sort"
238     attr="Title"
239     type="Sort"
240     analyzer="Sort"
241     />
242
243
244     <field
245     name="Date_sort"
246     attr="modified"
247     type="Sort"
248     analyzer="Sort"
249     />
250
251   <!-- Brain's  Metadata -->
252
253   <column value="Contributors"/>          <!-- XXX no field for this column -->
254   <column value="CreationDate"/>          <!-- XXX no field for this column -->
255   <column value="Creator"/>
256   <column value="Date"/>
257   <column value="Description"/>
258   <column value="EffectiveDate"/>
259   <column value="ExpirationDate"/>
260   <column value="Language"/>
261   <column value="ModificationDate"/>      <!-- XXX no field for this column -->
262   <column value="Subject"/>
263   <column value="Title"/>
264   <column value="Type"/>                  <!-- XXX no field for this column -->
265   <column value="created"/>
266   <column value="effective"/>
267   <column value="end"/>
268   <column value="expires"/>
269   <column value="getIcon"/>               <!-- XXX no field for this column -->
270   <column value="getId"/>
271   <column value="getRevision"/>           <!-- XXX no field for this column -->
272   <column value="id"/>
273   <column value="listCreators"/>
274   <column value="modified"/>
275   <column value="portal_type"/>
276   <column value="position_in_container"/>
277   <column value="relative_path"/>
278   <column value="review_state"/>
279   <column value="start"/>
280   <column value="time"/>
281
282 </object>
Note: See TracBrowser for help on using the browser.