hydra-core 6.0.0 → 6.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,433 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <schema name="Hydra" version="1.5">
3
- <!-- NOTE: various comments and unused configuration possibilities have been purged
4
- from this file. Please refer to http://wiki.apache.org/solr/SchemaXml,
5
- as well as the default schema file included with Solr -->
6
-
7
- <uniqueKey>id</uniqueKey>
8
-
9
- <fields>
10
- <field name="id" type="string" stored="true" indexed="true" multiValued="false" required="true"/>
11
- <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
12
-
13
- <field name="lat" type="tdouble" stored="true" indexed="true" multiValued="false"/>
14
- <field name="lng" type="tdouble" stored="true" indexed="true" multiValued="false"/>
15
-
16
- <!--these fields are hard coded in places in hydra-head -->
17
- <field name="active_fedora_model_s" type="string" stored="true" indexed="true"/>
18
- <field name="object_profile_display" type="string" stored="true" indexed="true"/>
19
- <field name="has_model_s" type="string" stored="true" indexed="true"/>
20
- <field name="is_governed_by_s" type="string" stored="true" indexed="true"/>
21
-
22
- <!--
23
- These are hard coded in places in hydra-head, but we hope to fix that.
24
-
25
- <field name="inheritable_discover_access_person_t" type="string" stored="true" indexed="true" multiValued="true"/>
26
- <field name="inheritable_read_access_person_t" type="string" stored="true" indexed="true" multiValued="true"/>
27
- <field name="inheritable_edit_access_person_t" type="string" stored="true" indexed="true" multiValued="true"/>
28
- <field name="inheritable_discover_access_group_t" type="string" stored="true" indexed="true" multiValued="true"/>
29
- <field name="inheritable_read_access_group_t" type="string" stored="true" indexed="true" multiValued="true"/>
30
- <field name="inheritable_edit_access_group_t" type="string" stored="true" indexed="true" multiValued="true"/>
31
- <field name="read_access_person_t" type="string" stored="true" indexed="true" multiValued="true"/>
32
- <field name="discover_access_person_t" type="string" stored="true" indexed="true" multiValued="true"/>
33
- <field name="edit_access_person_t" type="string" stored="true" indexed="true" multiValued="true"/>
34
- <field name="read_access_group_t" type="string" stored="true" indexed="true" multiValued="true"/>
35
- <field name="edit_access_group_t" type="string" stored="true" indexed="true" multiValued="true"/>
36
- <field name="discover_access_group_t" type="string" stored="true" indexed="true" multiValued="true"/>
37
- -->
38
-
39
-
40
- <!-- NOTE: not all possible Solr field types are represented in the dynamic fields -->
41
-
42
- <!-- text (_t...) -->
43
- <dynamicField name="*_ti" type="text" stored="false" indexed="true" multiValued="false"/>
44
- <dynamicField name="*_tim" type="text" stored="false" indexed="true" multiValued="true"/>
45
- <dynamicField name="*_ts" type="text" stored="true" indexed="false" multiValued="false"/>
46
- <dynamicField name="*_tsm" type="text" stored="true" indexed="false" multiValued="true"/>
47
- <dynamicField name="*_tsi" type="text" stored="true" indexed="true" multiValued="false"/>
48
- <dynamicField name="*_tsim" type="text" stored="true" indexed="true" multiValued="true"/>
49
- <dynamicField name="*_tiv" type="text" stored="false" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
50
- <dynamicField name="*_timv" type="text" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
51
- <dynamicField name="*_tsiv" type="text" stored="true" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
52
- <dynamicField name="*_tsimv" type="text" stored="true" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
53
-
54
- <!-- English text (_te...) -->
55
- <dynamicField name="*_tei" type="text_en" stored="false" indexed="true" multiValued="false"/>
56
- <dynamicField name="*_teim" type="text_en" stored="false" indexed="true" multiValued="true"/>
57
- <dynamicField name="*_tes" type="text_en" stored="true" indexed="false" multiValued="false"/>
58
- <dynamicField name="*_tesm" type="text_en" stored="true" indexed="false" multiValued="true"/>
59
- <dynamicField name="*_tesi" type="text_en" stored="true" indexed="true" multiValued="false"/>
60
- <dynamicField name="*_tesim" type="text_en" stored="true" indexed="true" multiValued="true"/>
61
- <dynamicField name="*_teiv" type="text_en" stored="false" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
62
- <dynamicField name="*_teimv" type="text_en" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
63
- <dynamicField name="*_tesiv" type="text_en" stored="true" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
64
- <dynamicField name="*_tesimv" type="text_en" stored="true" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
65
-
66
- <!-- string (_s...) -->
67
- <dynamicField name="*_si" type="string" stored="false" indexed="true" multiValued="false"/>
68
- <dynamicField name="*_sim" type="string" stored="false" indexed="true" multiValued="true"/>
69
- <dynamicField name="*_ss" type="string" stored="true" indexed="false" multiValued="false"/>
70
- <dynamicField name="*_ssm" type="string" stored="true" indexed="false" multiValued="true"/>
71
- <dynamicField name="*_ssi" type="string" stored="true" indexed="true" multiValued="false"/>
72
- <dynamicField name="*_ssim" type="string" stored="true" indexed="true" multiValued="true"/>
73
- <dynamicField name="*_ssort" type="alphaSort" stored="false" indexed="true" multiValued="false"/>
74
-
75
- <!-- integer (_i...) -->
76
- <dynamicField name="*_ii" type="int" stored="false" indexed="true" multiValued="false"/>
77
- <dynamicField name="*_iim" type="int" stored="false" indexed="true" multiValued="true"/>
78
- <dynamicField name="*_is" type="int" stored="true" indexed="false" multiValued="false"/>
79
- <dynamicField name="*_ism" type="int" stored="true" indexed="false" multiValued="true"/>
80
- <dynamicField name="*_isi" type="int" stored="true" indexed="true" multiValued="false"/>
81
- <dynamicField name="*_isim" type="int" stored="true" indexed="true" multiValued="true"/>
82
-
83
- <!-- trie integer (_it...) (for faster range queries) -->
84
- <dynamicField name="*_iti" type="tint" stored="false" indexed="true" multiValued="false"/>
85
- <dynamicField name="*_itim" type="tint" stored="false" indexed="true" multiValued="true"/>
86
- <dynamicField name="*_its" type="tint" stored="true" indexed="false" multiValued="false"/>
87
- <dynamicField name="*_itsm" type="tint" stored="true" indexed="false" multiValued="true"/>
88
- <dynamicField name="*_itsi" type="tint" stored="true" indexed="true" multiValued="false"/>
89
- <dynamicField name="*_itsim" type="tint" stored="true" indexed="true" multiValued="true"/>
90
-
91
- <!-- date (_dt...) -->
92
- <!-- The format for this date field is of the form 1995-12-31T23:59:59Z
93
- Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z -->
94
- <dynamicField name="*_dti" type="date" stored="false" indexed="true" multiValued="false"/>
95
- <dynamicField name="*_dtim" type="date" stored="false" indexed="true" multiValued="true"/>
96
- <dynamicField name="*_dts" type="date" stored="true" indexed="false" multiValued="false"/>
97
- <dynamicField name="*_dtsm" type="date" stored="true" indexed="false" multiValued="true"/>
98
- <dynamicField name="*_dtsi" type="date" stored="true" indexed="true" multiValued="false"/>
99
- <dynamicField name="*_dtsim" type="date" stored="true" indexed="true" multiValued="true"/>
100
-
101
- <!-- trie date (_dtt...) (for faster range queries) -->
102
- <dynamicField name="*_dtti" type="tdate" stored="false" indexed="true" multiValued="false"/>
103
- <dynamicField name="*_dttim" type="tdate" stored="false" indexed="true" multiValued="true"/>
104
- <dynamicField name="*_dtts" type="tdate" stored="true" indexed="false" multiValued="false"/>
105
- <dynamicField name="*_dttsm" type="tdate" stored="true" indexed="false" multiValued="true"/>
106
- <dynamicField name="*_dttsi" type="tdate" stored="true" indexed="true" multiValued="false"/>
107
- <dynamicField name="*_dttsim" type="tdate" stored="true" indexed="true" multiValued="true"/>
108
-
109
- <!-- long (_l...) -->
110
- <dynamicField name="*_li" type="long" stored="false" indexed="true" multiValued="false"/>
111
- <dynamicField name="*_lim" type="long" stored="false" indexed="true" multiValued="true"/>
112
- <dynamicField name="*_ls" type="long" stored="true" indexed="false" multiValued="false"/>
113
- <dynamicField name="*_lsm" type="long" stored="true" indexed="false" multiValued="true"/>
114
- <dynamicField name="*_lsi" type="long" stored="true" indexed="true" multiValued="false"/>
115
- <dynamicField name="*_lsim" type="long" stored="true" indexed="true" multiValued="true"/>
116
-
117
- <!-- trie long (_lt...) (for faster range queries) -->
118
- <dynamicField name="*_lti" type="tlong" stored="false" indexed="true" multiValued="false"/>
119
- <dynamicField name="*_ltim" type="tlong" stored="false" indexed="true" multiValued="true"/>
120
- <dynamicField name="*_lts" type="tlong" stored="true" indexed="false" multiValued="false"/>
121
- <dynamicField name="*_ltsm" type="tlong" stored="true" indexed="false" multiValued="true"/>
122
- <dynamicField name="*_ltsi" type="tlong" stored="true" indexed="true" multiValued="false"/>
123
- <dynamicField name="*_ltsim" type="tlong" stored="true" indexed="true" multiValued="true"/>
124
-
125
- <!-- double (_db...) -->
126
- <dynamicField name="*_dbi" type="double" stored="false" indexed="true" multiValued="false"/>
127
- <dynamicField name="*_dbim" type="double" stored="false" indexed="true" multiValued="true"/>
128
- <dynamicField name="*_dbs" type="double" stored="true" indexed="false" multiValued="false"/>
129
- <dynamicField name="*_dbsm" type="double" stored="true" indexed="false" multiValued="true"/>
130
- <dynamicField name="*_dbsi" type="double" stored="true" indexed="true" multiValued="false"/>
131
- <dynamicField name="*_dbsim" type="double" stored="true" indexed="true" multiValued="true"/>
132
-
133
- <!-- trie double (_dbt...) (for faster range queries) -->
134
- <dynamicField name="*_dbti" type="tdouble" stored="false" indexed="true" multiValued="false"/>
135
- <dynamicField name="*_dbtim" type="tdouble" stored="false" indexed="true" multiValued="true"/>
136
- <dynamicField name="*_dbts" type="tdouble" stored="true" indexed="false" multiValued="false"/>
137
- <dynamicField name="*_dbtsm" type="tdouble" stored="true" indexed="false" multiValued="true"/>
138
- <dynamicField name="*_dbtsi" type="tdouble" stored="true" indexed="true" multiValued="false"/>
139
- <dynamicField name="*_dbtsim" type="tdouble" stored="true" indexed="true" multiValued="true"/>
140
-
141
- <!-- float (_f...) -->
142
- <dynamicField name="*_fi" type="float" stored="false" indexed="true" multiValued="false"/>
143
- <dynamicField name="*_fim" type="float" stored="false" indexed="true" multiValued="true"/>
144
- <dynamicField name="*_fs" type="float" stored="true" indexed="false" multiValued="false"/>
145
- <dynamicField name="*_fsm" type="float" stored="true" indexed="false" multiValued="true"/>
146
- <dynamicField name="*_fsi" type="float" stored="true" indexed="true" multiValued="false"/>
147
- <dynamicField name="*_fsim" type="float" stored="true" indexed="true" multiValued="true"/>
148
-
149
- <!-- trie float (_ft...) (for faster range queries) -->
150
- <dynamicField name="*_fti" type="tfloat" stored="false" indexed="true" multiValued="false"/>
151
- <dynamicField name="*_ftim" type="tfloat" stored="false" indexed="true" multiValued="true"/>
152
- <dynamicField name="*_fts" type="tfloat" stored="true" indexed="false" multiValued="false"/>
153
- <dynamicField name="*_ftsm" type="tfloat" stored="true" indexed="false" multiValued="true"/>
154
- <dynamicField name="*_ftsi" type="tfloat" stored="true" indexed="true" multiValued="false"/>
155
- <dynamicField name="*_ftsim" type="tfloat" stored="true" indexed="true" multiValued="true"/>
156
-
157
- <!-- boolean (_b...) -->
158
- <dynamicField name="*_bi" type="boolean" stored="false" indexed="true" multiValued="false"/>
159
- <dynamicField name="*_bs" type="boolean" stored="true" indexed="false" multiValued="false"/>
160
- <dynamicField name="*_bsi" type="boolean" stored="true" indexed="true" multiValued="false"/>
161
-
162
- <!-- Type used to index the lat and lon components for the "location" FieldType -->
163
- <dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" />
164
-
165
- <!-- location (_ll...) -->
166
- <dynamicField name="*_lli" type="location" stored="false" indexed="true" multiValued="false"/>
167
- <dynamicField name="*_llim" type="location" stored="false" indexed="true" multiValued="true"/>
168
- <dynamicField name="*_lls" type="location" stored="true" indexed="false" multiValued="false"/>
169
- <dynamicField name="*_llsm" type="location" stored="true" indexed="false" multiValued="true"/>
170
- <dynamicField name="*_llsi" type="location" stored="true" indexed="true" multiValued="false"/>
171
- <dynamicField name="*_llsim" type="location" stored="true" indexed="true" multiValued="true"/>
172
-
173
- <!-- you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
174
- <field name="all_text_timv" type="text" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
175
-
176
- <!-- deprecated fields from pre-Solr 4.0 pre-hydra 5.0 -->
177
- <!--
178
- <field name="marc_display" type="string" indexed="false" stored="true" multiValued="false"/>
179
- <field name="title_display" type="string" indexed="false" stored="true" multiValued="false"/>
180
- <field name="title_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
181
- <field name="subtitle_display" type="string" indexed="false" stored="true" multiValued="false"/>
182
- <field name="subtitle_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
183
- <field name="author_display" type="string" indexed="false" stored="true" multiValued="false"/>
184
- <field name="author_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
185
- -->
186
- <!-- these fields are also used for display, so they must be stored -->
187
- <!--
188
- <field name="isbn_t" type="text" indexed="true" stored="true" multiValued="true"/>
189
- <field name="language_facet" type="string" indexed="true" stored="true" multiValued="true" />
190
- <field name="subject_topic_facet" type="string" indexed="true" stored="true" multiValued="true" />
191
- <field name="subject_era_facet" type="string" indexed="true" stored="true" multiValued="true" />
192
- <field name="subject_geo_facet" type="string" indexed="true" stored="true" multiValued="true" />
193
- -->
194
- <!-- pub_date is used for facet and display so it must be indexed and stored -->
195
- <!--
196
- <field name="pub_date" type="string" indexed="true" stored="true" multiValued="true"/>
197
- -->
198
- <!-- pub_date sort uses new trie-based int fields, which are recommended for any int and are displayable, sortable, and range-quer
199
- we use 'tint' for faster range-queries. -->
200
- <!--
201
- <field name="pub_date_sort" type="tint" indexed="true" stored="true" multiValued="false"/>
202
- -->
203
- <!-- format is used for facet, display, and choosing which partial to use for the show view, so it must be stored and indexed -->
204
- <!--
205
- <field name="format" type="string" indexed="true" stored="true"/>
206
-
207
- <dynamicField name="*_i" type="int" indexed="true" stored="true"/>
208
- <dynamicField name="*_s" type="string" indexed="true" stored="true" multiValued="true"/>
209
- <dynamicField name="*_l" type="long" indexed="true" stored="true"/>
210
- <dynamicField name="*_t" type="text" indexed="true" stored="true" multiValued="true"/>
211
- <dynamicField name="*_txt" type="text_general" indexed="true" stored="true" multiValued="true"/>
212
- <dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>
213
- <dynamicField name="*_f" type="float" indexed="true" stored="true"/>
214
- <dynamicField name="*_d" type="double" indexed="true" stored="true"/>
215
-
216
- <dynamicField name="ignored_*" type="ignored" multiValued="true"/>
217
- <dynamicField name="attr_*" type="text_general" indexed="true" stored="true" multiValued="true"/>
218
-
219
- <dynamicField name="random_*" type="random" />
220
-
221
- <dynamicField name="*_display" type="string" indexed="false" stored="true" multiValued="true" />
222
- <dynamicField name="*_facet" type="string" indexed="true" stored="true" multiValued="true" />
223
- <dynamicField name="*_sort" type="string" indexed="true" stored="false" multiValued="false" />
224
- <dynamicField name="*_unstem_search" type="text_general" indexed="true" stored="false" multiValued="true" />
225
- <dynamicField name="*spell" type="textSpell" indexed="true" stored="false" multiValued="true" />
226
- -->
227
- <!-- uncomment the following to ignore any fields that don't already match an existing
228
- field name or dynamic field, rather than reporting them as an error.
229
- alternately, change the type="ignored" to some other type e.g. "text" if you want
230
- unknown fields indexed and/or stored by default -->
231
- <!--dynamicField name="*" type="ignored" multiValued="true" /-->
232
-
233
- <!-- END hydra deprecated items -->
234
-
235
- </fields>
236
-
237
- <!-- START hydra deprecated items -->
238
- <!--
239
- <defaultSearchField>text</defaultSearchField>
240
- -->
241
- <!-- SolrQueryParser configuration: defaultOperator="AND|OR" -->
242
- <!--
243
- <solrQueryParser defaultOperator="AND"/>
244
-
245
- <copyField source="title_t" dest="title_unstem_search"/>
246
- <copyField source="subtitle_t" dest="subtitle_unstem_search"/>
247
- <copyField source="title_addl_t" dest="title_addl_unstem_search"/>
248
- <copyField source="title_added_entry_t" dest="title_added_entry_unstem_search"/>
249
- <copyField source="title_series_t" dest="title_series_unstem_search"/>
250
- <copyField source="author_t" dest="author_unstem_search"/>
251
- <copyField source="author_addl_t" dest="author_addl_unstem_search"/>
252
- <copyField source="subject_t" dest="subject_unstem_search"/>
253
- <copyField source="subject_addl_t" dest="subject_addl_unstem_search"/>
254
- <copyField source="subject_topic_facet" dest="subject_topic_unstem_search"/>
255
- -->
256
- <!-- sort fields -->
257
- <!--
258
- <copyField source="pub_date" dest="pub_date_sort"/>
259
- -->
260
-
261
- <!-- spellcheck fields -->
262
- <!-- default spell check; should match fields for default request handler -->
263
- <!-- it won't work with a copy of a copy field -->
264
- <!--
265
- <copyField source="*_t" dest="spell"/>
266
- <copyField source="*_facet" dest="spell"/>
267
- -->
268
- <!-- title spell check; should match fields for title request handler -->
269
- <!--
270
- <copyField source="title_t" dest="title_spell"/>
271
- <copyField source="subtitle_t" dest="title_spell"/>
272
- <copyField source="addl_titles_t" dest="title_spell"/>
273
- <copyField source="title_added_entry_t" dest="title_spell"/>
274
- <copyField source="title_series_t" dest="title_spell"/>
275
- -->
276
- <!-- author spell check; should match fields for author request handler -->
277
- <!--
278
- <copyField source="author_t" dest="author_spell"/>
279
- <copyField source="author_addl_t" dest="author_spell"/>
280
- -->
281
- <!-- subject spell check; should match fields for subject request handler -->
282
- <!--
283
- <copyField source="subject_topic_facet" dest="subject_spell"/>
284
- <copyField source="subject_t" dest="subject_spell"/>
285
- <copyField source="subject_addl_t" dest="subject_spell"/>
286
- -->
287
-
288
- <!-- OpenSearch query field should match request handler search fields -->
289
- <!--
290
- <copyField source="title_t" dest="opensearch_display"/>
291
- <copyField source="subtitle_t" dest="opensearch_display"/>
292
- <copyField source="addl_titles_t" dest="opensearch_display"/>
293
- <copyField source="title_added_entry_t" dest="opensearch_display"/>
294
- <copyField source="title_series_t" dest="opensearch_display"/>
295
- <copyField source="author_t" dest="opensearch_display"/>
296
- <copyField source="author_addl_t" dest="opensearch_display"/>
297
- <copyField source="subject_topic_facet" dest="opensearch_display"/>
298
- <copyField source="subject_t" dest="opensearch_display"/>
299
- <copyField source="subject_addl_t" dest="opensearch_display"/>
300
- -->
301
-
302
- <!-- Above, multiple source fields are copied to the [text] field.
303
- Another way to map multiple source fields to the same
304
- destination field is to use the dynamic field syntax.
305
- copyField also supports a maxChars to copy setting. -->
306
-
307
- <!-- <copyField source="*_t" dest="text" maxChars="3000"/> -->
308
- <!--
309
- <copyField source="*_s" dest="text"/>
310
- <copyField source="*_t" dest="text"/>
311
- <copyField source="*_facet" dest="text"/>
312
- -->
313
- <!-- copy name to alphaNameSort, a field designed for sorting by name -->
314
- <!-- <copyField source="name" dest="alphaNameSort"/> -->
315
-
316
- <!-- END hydra deprecated items -->
317
-
318
- <!-- copy fields; note that you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
319
- <!--
320
- <copyField source="some_field" dest="all_text_timv" />
321
- -->
322
-
323
- <types>
324
- <fieldType name="string" class="solr.StrField" sortMissingLast="true" />
325
- <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
326
- <fieldType name="rand" class="solr.RandomSortField" omitNorms="true"/>
327
-
328
- <!-- Default numeric field types. -->
329
- <fieldType name="int" class="solr.TrieIntField" precisionStep="0" positionIncrementGap="0"/>
330
- <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" positionIncrementGap="0"/>
331
- <fieldType name="long" class="solr.TrieLongField" precisionStep="0" positionIncrementGap="0"/>
332
- <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" positionIncrementGap="0"/>
333
-
334
- <!-- trie numeric field types for faster range queries -->
335
- <fieldType name="tint" class="solr.TrieIntField" precisionStep="8" positionIncrementGap="0"/>
336
- <fieldType name="tfloat" class="solr.TrieFloatField" precisionStep="8" positionIncrementGap="0"/>
337
- <fieldType name="tlong" class="solr.TrieLongField" precisionStep="8" positionIncrementGap="0"/>
338
- <fieldType name="tdouble" class="solr.TrieDoubleField" precisionStep="8" positionIncrementGap="0"/>
339
-
340
- <!-- The format for this date field is of the form 1995-12-31T23:59:59Z
341
- Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
342
- -->
343
- <fieldType name="date" class="solr.TrieDateField" precisionStep="0" positionIncrementGap="0"/>
344
- <!-- A Trie based date field for faster date range queries and date faceting. -->
345
- <fieldType name="tdate" class="solr.TrieDateField" precisionStep="6" positionIncrementGap="0"/>
346
-
347
-
348
- <!-- This point type indexes the coordinates as separate fields (subFields)
349
- If subFieldType is defined, it references a type, and a dynamic field
350
- definition is created matching *___<typename>. Alternately, if
351
- subFieldSuffix is defined, that is used to create the subFields.
352
- Example: if subFieldType="double", then the coordinates would be
353
- indexed in fields myloc_0___double,myloc_1___double.
354
- Example: if subFieldSuffix="_d" then the coordinates would be indexed
355
- in fields myloc_0_d,myloc_1_d
356
- The subFields are an implementation detail of the fieldType, and end
357
- users normally should not need to know about them.
358
- -->
359
- <fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
360
-
361
- <!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
362
- <fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
363
-
364
- <!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
365
- For more information about this and other Spatial fields new to Solr 4, see:
366
- http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
367
- -->
368
- <fieldType name="location_rpt" class="solr.SpatialRecursivePrefixTreeFieldType"
369
- geo="true" distErrPct="0.025" maxDistErr="0.000009" units="degrees" />
370
-
371
- <fieldType name="text" class="solr.TextField" omitNorms="false">
372
- <analyzer>
373
- <tokenizer class="solr.ICUTokenizerFactory"/>
374
- <filter class="solr.ICUFoldingFilterFactory"/> <!-- NFKC, case folding, diacritics removed -->
375
- <filter class="solr.TrimFilterFactory"/>
376
- </analyzer>
377
- </fieldType>
378
-
379
- <!-- A text field that only splits on whitespace for exact matching of words -->
380
- <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
381
- <analyzer>
382
- <tokenizer class="solr.WhitespaceTokenizerFactory"/>
383
- <filter class="solr.TrimFilterFactory"/>
384
- </analyzer>
385
- </fieldType>
386
-
387
- <!-- single token analyzed text, for sorting. Punctuation is significant. -->
388
- <fieldtype name="alphaSort" class="solr.TextField" sortMissingLast="true" omitNorms="true">
389
- <analyzer>
390
- <tokenizer class="solr.KeywordTokenizerFactory" />
391
- <filter class="solr.ICUFoldingFilterFactory"/>
392
- <filter class="solr.TrimFilterFactory" />
393
- </analyzer>
394
- </fieldtype>
395
-
396
- <!-- A text field with defaults appropriate for English -->
397
- <fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
398
- <analyzer>
399
- <tokenizer class="solr.ICUTokenizerFactory"/>
400
- <filter class="solr.ICUFoldingFilterFactory"/> <!-- NFKC, case folding, diacritics removed -->
401
- <filter class="solr.EnglishPossessiveFilterFactory"/>
402
- <!-- EnglishMinimalStemFilterFactory is less aggressive than PorterStemFilterFactory: -->
403
- <filter class="solr.EnglishMinimalStemFilterFactory"/>
404
- <!--
405
- <filter class="solr.PorterStemFilterFactory"/>
406
- -->
407
- <filter class="solr.TrimFilterFactory"/>
408
- </analyzer>
409
- </fieldType>
410
-
411
- <!-- queries for paths match documents at that path, or in descendent paths -->
412
- <fieldType name="descendent_path" class="solr.TextField">
413
- <analyzer type="index">
414
- <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />
415
- </analyzer>
416
- <analyzer type="query">
417
- <tokenizer class="solr.KeywordTokenizerFactory" />
418
- </analyzer>
419
- </fieldType>
420
-
421
- <!-- queries for paths match documents at that path, or in ancestor paths -->
422
- <fieldType name="ancestor_path" class="solr.TextField">
423
- <analyzer type="index">
424
- <tokenizer class="solr.KeywordTokenizerFactory" />
425
- </analyzer>
426
- <analyzer type="query">
427
- <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />
428
- </analyzer>
429
- </fieldType>
430
-
431
- </types>
432
-
433
- </schema>
@@ -1,163 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <config>
3
- <!-- NOTE: various comments and unused configuration possibilities have been purged
4
- from this file. Please refer to http://wiki.apache.org/solr/SolrConfigXml,
5
- as well as the default solrconfig file included with Solr -->
6
-
7
- <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
8
-
9
- <luceneMatchVersion>LUCENE_40</luceneMatchVersion>
10
-
11
- <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
12
-
13
- <!-- solr lib dirs -->
14
- <lib dir="../lib/contrib/analysis-extras/lib" />
15
- <lib dir="../lib/contrib/analysis-extras/lucene-libs" />
16
-
17
- <dataDir>${solr.data.dir:}</dataDir>
18
-
19
- <requestHandler name="search" class="solr.SearchHandler" default="true">
20
- <!-- default values for query parameters can be specified, these
21
- will be overridden by parameters in the request
22
- -->
23
- <lst name="defaults">
24
- <str name="defType">edismax</str>
25
- <str name="echoParams">explicit</str>
26
- <str name="q.alt">*:*</str>
27
- <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
28
- <int name="qs">1</int>
29
- <int name="ps">2</int>
30
- <float name="tie">0.01</float>
31
- <!-- this qf and pf are used by default, if not otherwise specified by
32
- client. The default blacklight_config will use these for the
33
- "keywords" search. See the author_qf/author_pf, title_qf, etc
34
- below, which the default blacklight_config will specify for
35
- those searches. You may also be interested in:
36
- http://wiki.apache.org/solr/LocalParams
37
- -->
38
- <str name="qf">
39
- id
40
- all_text_timv
41
- active_fedora_model_ssi
42
- object_type_si
43
- </str>
44
- <str name="pf">
45
- all_text_timv^10
46
- </str>
47
-
48
- <str name="author_qf">
49
- </str>
50
- <str name="author_pf">
51
- </str>
52
- <str name="title_qf">
53
- </str>
54
- <str name="title_pf">
55
- </str>
56
- <str name="subject_qf">
57
- </str>
58
- <str name="subject_pf">
59
- </str>
60
-
61
- <str name="fl">
62
- *,
63
- score
64
- </str>
65
-
66
- <str name="facet">true</str>
67
- <str name="facet.mincount">1</str>
68
- <str name="facet.limit">10</str>
69
- <str name="facet.field">active_fedora_model_ssi</str>
70
- <str name="facet.field">object_type_si</str>
71
-
72
- <str name="spellcheck">true</str>
73
- <str name="spellcheck.dictionary">default</str>
74
- <str name="spellcheck.onlyMorePopular">true</str>
75
- <str name="spellcheck.extendedResults">true</str>
76
- <str name="spellcheck.collate">false</str>
77
- <str name="spellcheck.count">5</str>
78
-
79
- </lst>
80
- <arr name="last-components">
81
- <str>spellcheck</str>
82
- </arr>
83
- </requestHandler>
84
-
85
- <requestHandler name="permissions" class="solr.SearchHandler" >
86
- <lst name="defaults">
87
- <str name="facet">off</str>
88
- <str name="echoParams">all</str>
89
- <str name="rows">1</str>
90
- <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
91
- <str name="fl">
92
- id,
93
- access_ssim,
94
- discover_access_group_ssim,discover_access_person_ssim,
95
- read_access_group_ssim,read_access_person_ssim,
96
- edit_access_group_ssim,edit_access_person_ssim,
97
- depositor_ti,
98
- embargo_release_date_dtsi
99
- inheritable_access_ssim,
100
- inheritable_discover_access_group_ssim,inheritable_discover_access_person_ssim,
101
- inheritable_read_access_group_ssim,inheritable_read_access_person_ssim,
102
- inheritable_edit_access_group_ssim,inheritable_edit_access_person_ssim,
103
- inheritable_embargo_release_date_dtsi
104
- </str>
105
- </lst>
106
- </requestHandler>
107
-
108
- <requestHandler name="standard" class="solr.SearchHandler">
109
- <lst name="defaults">
110
- <str name="echoParams">explicit</str>
111
- <str name="defType">lucene</str>
112
- </lst>
113
- </requestHandler>
114
-
115
- <!-- for requests to get a single document; use id=666 instead of q=id:666 -->
116
- <requestHandler name="document" class="solr.SearchHandler" >
117
- <lst name="defaults">
118
- <str name="echoParams">all</str>
119
- <str name="fl">*</str>
120
- <str name="rows">1</str>
121
- <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
122
- </lst>
123
- </requestHandler>
124
-
125
-
126
- <searchComponent name="spellcheck" class="solr.SpellCheckComponent">
127
- <str name="queryAnalyzerFieldType">textSpell</str>
128
- <!-- Multiple "Spell Checkers" can be declared and used by this component
129
- (e.g. for title_spell field)
130
- -->
131
- <lst name="spellchecker">
132
- <str name="name">default</str>
133
- <str name="field">spell</str>
134
- <str name="spellcheckIndexDir">./spell</str>
135
- <str name="buildOnOptimize">true</str>
136
- </lst>
137
- </searchComponent>
138
-
139
- <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
140
-
141
- <requestDispatcher handleSelect="true" >
142
- <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
143
- </requestDispatcher>
144
-
145
- <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />
146
- <requestHandler name="/update" class="solr.UpdateRequestHandler" />
147
- <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
148
-
149
- <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
150
- <lst name="invariants">
151
- <str name="q">solrpingquery</str>
152
- </lst>
153
- <lst name="defaults">
154
- <str name="echoParams">all</str>
155
- </lst>
156
- </requestHandler>
157
-
158
- <!-- config for the admin interface -->
159
- <admin>
160
- <defaultQuery>search</defaultQuery>
161
- </admin>
162
-
163
- </config>