common_repository_model 0.0.9 → 0.1.0
This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
- data/common_repository_model.gemspec +4 -4
- data/config/schema.xml +125 -0
- data/config/solrconfig.xml +1882 -1858
- data/lib/common_repository_model.rb +1 -0
- data/lib/common_repository_model/exceptions.rb +10 -0
- data/lib/common_repository_model/persistence_base.rb +9 -11
- data/lib/common_repository_model/version.rb +1 -1
- data/lib/generators/common_repository_model/collection/collection_generator.rb +1 -1
- data/lib/tasks/common_repository_model.tasks +15 -0
- data/spec/common_respository_model/data_spec.rb +13 -12
- data/spec/common_respository_model/persistence_base_spec.rb +13 -0
- metadata +18 -16
@@ -25,8 +25,8 @@ Gem::Specification.new do |gem|
|
|
25
25
|
gem.add_dependency "activemodel", "~>3.2"
|
26
26
|
gem.add_dependency "builder", "~>3.0"
|
27
27
|
gem.add_dependency "active_model_serializers"
|
28
|
-
gem.
|
29
|
-
gem.
|
30
|
-
gem.
|
31
|
-
gem.
|
28
|
+
gem.add_dependency "active-fedora", "5.2.0"
|
29
|
+
gem.add_development_dependency "minitest"
|
30
|
+
gem.add_development_dependency "minitest-matchers"
|
31
|
+
gem.add_development_dependency "factory_girl"
|
32
32
|
end
|
data/config/schema.xml
ADDED
@@ -0,0 +1,125 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!--
|
3
|
+
IMPORTANT
|
4
|
+
This copy of the solr schema is only used in the context of testing hydra-head. If you want to make changes available to individual hydra heads, you must apply them to the template in lib/generators/hydra/templates/solr_config
|
5
|
+
-->
|
6
|
+
<schema name="Hydra" version="1.1">
|
7
|
+
<!-- For complete comments from the Solr project example schema.xml:
|
8
|
+
http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/schema.xml?view=markup
|
9
|
+
See also:
|
10
|
+
http://wiki.apache.org/solr/SchemaXml
|
11
|
+
-->
|
12
|
+
<types>
|
13
|
+
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
|
14
|
+
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
|
15
|
+
<fieldType name="integer" class="solr.IntField" omitNorms="true"/>
|
16
|
+
<fieldType name="long" class="solr.LongField" omitNorms="true"/>
|
17
|
+
<fieldType name="float" class="solr.FloatField" omitNorms="true"/>
|
18
|
+
<fieldType name="double" class="solr.DoubleField" omitNorms="true"/>
|
19
|
+
<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" omitNorms="true"/>
|
20
|
+
<fieldType name="slong" class="solr.SortableLongField" sortMissingLast="true" omitNorms="true"/>
|
21
|
+
<fieldType name="sfloat" class="solr.SortableFloatField" sortMissingLast="true" omitNorms="true"/>
|
22
|
+
<fieldType name="sdouble" class="solr.SortableDoubleField" sortMissingLast="true" omitNorms="true"/>
|
23
|
+
<fieldType name="date" class="solr.DateField" sortMissingLast="true" omitNorms="true"/>
|
24
|
+
<fieldType name="random" class="solr.RandomSortField" indexed="true" />
|
25
|
+
|
26
|
+
<fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
|
27
|
+
<analyzer>
|
28
|
+
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
29
|
+
</analyzer>
|
30
|
+
</fieldType>
|
31
|
+
|
32
|
+
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
|
33
|
+
<analyzer type="index">
|
34
|
+
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
35
|
+
<filter class="solr.StopFilterFactory"
|
36
|
+
ignoreCase="true"
|
37
|
+
words="stopwords.txt"
|
38
|
+
enablePositionIncrements="true"
|
39
|
+
/>
|
40
|
+
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
|
41
|
+
<filter class="solr.LowerCaseFilterFactory"/>
|
42
|
+
<filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/>
|
43
|
+
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
44
|
+
</analyzer>
|
45
|
+
<analyzer type="query">
|
46
|
+
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
47
|
+
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
|
48
|
+
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
49
|
+
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
|
50
|
+
<filter class="solr.LowerCaseFilterFactory"/>
|
51
|
+
<filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/>
|
52
|
+
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
53
|
+
</analyzer>
|
54
|
+
</fieldType>
|
55
|
+
|
56
|
+
<fieldType name="textTight" class="solr.TextField" positionIncrementGap="100" >
|
57
|
+
<analyzer>
|
58
|
+
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
59
|
+
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
|
60
|
+
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
61
|
+
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
|
62
|
+
<filter class="solr.LowerCaseFilterFactory"/>
|
63
|
+
<filter class="solr.EnglishPorterFilterFactory" protected="protwords.txt"/>
|
64
|
+
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
|
65
|
+
</analyzer>
|
66
|
+
</fieldType>
|
67
|
+
|
68
|
+
<fieldType name="alphaOnlySort" class="solr.TextField" sortMissingLast="true" omitNorms="true">
|
69
|
+
<analyzer>
|
70
|
+
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
71
|
+
<filter class="solr.LowerCaseFilterFactory" />
|
72
|
+
<filter class="solr.TrimFilterFactory" />
|
73
|
+
<filter class="solr.PatternReplaceFilterFactory"
|
74
|
+
pattern="([^a-z])" replacement="" replace="all"
|
75
|
+
/>
|
76
|
+
</analyzer>
|
77
|
+
</fieldType>
|
78
|
+
|
79
|
+
<fieldtype name="ignored" stored="false" indexed="false" class="solr.StrField" />
|
80
|
+
|
81
|
+
</types>
|
82
|
+
|
83
|
+
<!-- For complete comments from the Solr project example schema.xml:
|
84
|
+
http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/solr/conf/schema.xml?view=markup
|
85
|
+
See also:
|
86
|
+
http://wiki.apache.org/solr/SchemaXml
|
87
|
+
-->
|
88
|
+
<fields>
|
89
|
+
|
90
|
+
<field name="id" type="string" indexed="true" stored="true" required="true" />
|
91
|
+
<field name="text" type="text" indexed="true" stored="true" multiValued="true"/>
|
92
|
+
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
93
|
+
|
94
|
+
<!-- format is used for facet, display, and choosing which partial to use for the show view, so it must be stored and indexed -->
|
95
|
+
<field name="format" type="string" indexed="true" stored="true"/>
|
96
|
+
<!-- pub_date is assumed by Blacklight's default configuration, so we must define it here to avoid errors -->
|
97
|
+
<field name="pub_date" type="string" indexed="true" stored="true" multiValued="true"/>
|
98
|
+
|
99
|
+
<dynamicField name="*_i" type="sint" indexed="true" stored="true"/>
|
100
|
+
<dynamicField name="*_s" type="string" indexed="true" stored="true" multiValued="true"/>
|
101
|
+
<dynamicField name="*_l" type="slong" indexed="true" stored="true"/>
|
102
|
+
<dynamicField name="*_t" type="text" indexed="true" stored="true" multiValued="true"/>
|
103
|
+
<dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>
|
104
|
+
<dynamicField name="*_f" type="sfloat" indexed="true" stored="true"/>
|
105
|
+
<dynamicField name="*_d" type="sdouble" indexed="true" stored="true"/>
|
106
|
+
<dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
|
107
|
+
|
108
|
+
<dynamicField name="random*" type="random" />
|
109
|
+
<!-- FIXME: Solr can't sort on a multivalued field -->
|
110
|
+
<dynamicField name="*_sort" type="string" indexed="true" stored="false" multiValued="true"/>
|
111
|
+
<!-- FIXME: generally, facet fields are not stored -->
|
112
|
+
<dynamicField name="*_facet" type="string" indexed="true" stored="true" multiValued="true" />
|
113
|
+
<dynamicField name="*_display" type="string" indexed="false" stored="true" multiValued="true" />
|
114
|
+
|
115
|
+
</fields>
|
116
|
+
|
117
|
+
<uniqueKey>id</uniqueKey>
|
118
|
+
<defaultSearchField>text</defaultSearchField>
|
119
|
+
<solrQueryParser defaultOperator="AND" />
|
120
|
+
<copyField source="*_facet" dest="text" />
|
121
|
+
<copyField source="*_t" dest="text" />
|
122
|
+
<copyField source="*_t" dest="*_s" />
|
123
|
+
<copyField source="*_s" dest="text" />
|
124
|
+
|
125
|
+
</schema>
|
data/config/solrconfig.xml
CHANGED
@@ -1,1858 +1,1882 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
-
<!--
|
3
|
-
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
-
contributor license agreements. See the NOTICE file distributed with
|
5
|
-
this work for additional information regarding copyright ownership.
|
6
|
-
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
-
(the "License"); you may not use this file except in compliance with
|
8
|
-
the License. You may obtain a copy of the License at
|
9
|
-
|
10
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
|
12
|
-
Unless required by applicable law or agreed to in writing, software
|
13
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
See the License for the specific language governing permissions and
|
16
|
-
limitations under the License.
|
17
|
-
-->
|
18
|
-
|
19
|
-
<!--
|
20
|
-
For more details about configurations options that may appear in
|
21
|
-
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
22
|
-
-->
|
23
|
-
<config>
|
24
|
-
<!-- In all configuration below, a prefix of "solr." for class names
|
25
|
-
is an alias that causes solr to search appropriate packages,
|
26
|
-
including org.apache.solr.(search|update|request|core|analysis)
|
27
|
-
|
28
|
-
You may also specify a fully qualified Java classname if you
|
29
|
-
have your own custom plugins.
|
30
|
-
-->
|
31
|
-
|
32
|
-
<!-- Set this to 'false' if you want solr to continue working after
|
33
|
-
it has encountered an severe configuration error. In a
|
34
|
-
production environment, you may want solr to keep working even
|
35
|
-
if one handler is mis-configured.
|
36
|
-
|
37
|
-
You may also set this to false using by setting the system
|
38
|
-
property:
|
39
|
-
|
40
|
-
-Dsolr.abortOnConfigurationError=false
|
41
|
-
-->
|
42
|
-
<abortOnConfigurationError>${solr.abortOnConfigurationError:
|
43
|
-
|
44
|
-
<!-- Controls what version of Lucene various components of Solr
|
45
|
-
adhere to. Generally, you want to use the latest version to
|
46
|
-
get all bug fixes and improvements. It is highly recommended
|
47
|
-
that you fully re-index after changing this setting as it can
|
48
|
-
affect both how text is indexed and queried.
|
49
|
-
-->
|
50
|
-
<luceneMatchVersion>
|
51
|
-
|
52
|
-
<!-- lib directives can be used to instruct Solr to load an Jars
|
53
|
-
identified and use them to resolve any "plugins" specified in
|
54
|
-
your solrconfig.xml or schema.xml (ie: Analyzers, Request
|
55
|
-
Handlers, etc...).
|
56
|
-
|
57
|
-
All directories and paths are resolved relative to the
|
58
|
-
instanceDir.
|
59
|
-
|
60
|
-
If a "./lib" directory exists in your instanceDir, all files
|
61
|
-
found in it are included as if you had used the following
|
62
|
-
syntax...
|
63
|
-
|
64
|
-
<lib dir="./lib" />
|
65
|
-
-->
|
66
|
-
|
67
|
-
<!--
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
<
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
The
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
<!--
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
<!--
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
<!--
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
-->
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
<!--
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
<!--
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
the never304="
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
<!-- SearchHandler
|
708
|
-
|
709
|
-
http://wiki.apache.org/solr/SearchHandler
|
710
|
-
|
711
|
-
For processing Search Queries, the primary Request Handler
|
712
|
-
provided with Solr is "SearchHandler" It delegates to a sequent
|
713
|
-
of SearchComponents (see below) and supports distributed
|
714
|
-
queries across multiple shards
|
715
|
-
-->
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
<str name="
|
723
|
-
<
|
724
|
-
|
725
|
-
<str name="
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
author_unstem_search^
|
750
|
-
author_addl_unstem_search^
|
751
|
-
author_t^
|
752
|
-
author_addl_t
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
</str>
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
</str>
|
821
|
-
<str name="
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
</str>
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
<
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
-->
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
<str>
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
<str name="
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
<str name="
|
964
|
-
<str name="echoParams">explicit</str>
|
965
|
-
<
|
966
|
-
<str name="
|
967
|
-
<str name="
|
968
|
-
<str name="
|
969
|
-
|
970
|
-
|
971
|
-
<str name="mm">1</str>
|
972
|
-
<
|
973
|
-
<
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
</str>
|
982
|
-
<str name="
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
</
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
</str>
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
<str name="
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
</
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
</
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
<
|
1295
|
-
<
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
<str>
|
1304
|
-
|
1305
|
-
|
1306
|
-
<str>
|
1307
|
-
<str>
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
<
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
<str name="
|
1407
|
-
|
1408
|
-
|
1409
|
-
<str name="
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
<str>
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1628
|
-
|
1629
|
-
|
1630
|
-
|
1631
|
-
|
1632
|
-
|
1633
|
-
<
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
1665
|
-
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
1673
|
-
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
|
1682
|
-
|
1683
|
-
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
<str name="hl.
|
1710
|
-
|
1711
|
-
|
1712
|
-
|
1713
|
-
|
1714
|
-
|
1715
|
-
|
1716
|
-
|
1717
|
-
|
1718
|
-
|
1719
|
-
|
1720
|
-
|
1721
|
-
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1735
|
-
|
1736
|
-
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
|
1741
|
-
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1746
|
-
|
1747
|
-
|
1748
|
-
|
1749
|
-
|
1750
|
-
|
1751
|
-
|
1752
|
-
|
1753
|
-
|
1754
|
-
|
1755
|
-
|
1756
|
-
|
1757
|
-
|
1758
|
-
|
1759
|
-
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
|
1770
|
-
|
1771
|
-
|
1772
|
-
|
1773
|
-
|
1774
|
-
|
1775
|
-
|
1776
|
-
|
1777
|
-
|
1778
|
-
|
1779
|
-
|
1780
|
-
|
1781
|
-
|
1782
|
-
-->
|
1783
|
-
|
1784
|
-
<
|
1785
|
-
|
1786
|
-
|
1787
|
-
|
1788
|
-
|
1789
|
-
|
1790
|
-
|
1791
|
-
|
1792
|
-
|
1793
|
-
-->
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1803
|
-
|
1804
|
-
|
1805
|
-
-->
|
1806
|
-
|
1807
|
-
|
1808
|
-
|
1809
|
-
|
1810
|
-
|
1811
|
-
|
1812
|
-
|
1813
|
-
|
1814
|
-
|
1815
|
-
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1820
|
-
|
1821
|
-
|
1822
|
-
|
1823
|
-
|
1824
|
-
|
1825
|
-
|
1826
|
-
|
1827
|
-
|
1828
|
-
|
1829
|
-
<!--
|
1830
|
-
|
1831
|
-
-->
|
1832
|
-
|
1833
|
-
|
1834
|
-
|
1835
|
-
|
1836
|
-
|
1837
|
-
|
1838
|
-
|
1839
|
-
-->
|
1840
|
-
|
1841
|
-
|
1842
|
-
|
1843
|
-
|
1844
|
-
|
1845
|
-
|
1846
|
-
|
1847
|
-
|
1848
|
-
|
1849
|
-
|
1850
|
-
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
|
1855
|
-
|
1856
|
-
|
1857
|
-
|
1858
|
-
|
1
|
+
<?xml version="1.0" encoding="UTF-8" ?>
|
2
|
+
<!--
|
3
|
+
Licensed to the Apache Software Foundation (ASF) under one or more
|
4
|
+
contributor license agreements. See the NOTICE file distributed with
|
5
|
+
this work for additional information regarding copyright ownership.
|
6
|
+
The ASF licenses this file to You under the Apache License, Version 2.0
|
7
|
+
(the "License"); you may not use this file except in compliance with
|
8
|
+
the License. You may obtain a copy of the License at
|
9
|
+
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
|
12
|
+
Unless required by applicable law or agreed to in writing, software
|
13
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
See the License for the specific language governing permissions and
|
16
|
+
limitations under the License.
|
17
|
+
-->
|
18
|
+
|
19
|
+
<!--
|
20
|
+
For more details about configurations options that may appear in
|
21
|
+
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
22
|
+
-->
|
23
|
+
<config>
|
24
|
+
<!-- In all configuration below, a prefix of "solr." for class names
|
25
|
+
is an alias that causes solr to search appropriate packages,
|
26
|
+
including org.apache.solr.(search|update|request|core|analysis)
|
27
|
+
|
28
|
+
You may also specify a fully qualified Java classname if you
|
29
|
+
have your own custom plugins.
|
30
|
+
-->
|
31
|
+
|
32
|
+
<!-- Set this to 'false' if you want solr to continue working after
|
33
|
+
it has encountered an severe configuration error. In a
|
34
|
+
production environment, you may want solr to keep working even
|
35
|
+
if one handler is mis-configured.
|
36
|
+
|
37
|
+
You may also set this to false using by setting the system
|
38
|
+
property:
|
39
|
+
|
40
|
+
-Dsolr.abortOnConfigurationError=false
|
41
|
+
-->
|
42
|
+
<abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
|
43
|
+
|
44
|
+
<!-- Controls what version of Lucene various components of Solr
|
45
|
+
adhere to. Generally, you want to use the latest version to
|
46
|
+
get all bug fixes and improvements. It is highly recommended
|
47
|
+
that you fully re-index after changing this setting as it can
|
48
|
+
affect both how text is indexed and queried.
|
49
|
+
-->
|
50
|
+
<luceneMatchVersion>LUCENE_35</luceneMatchVersion>
|
51
|
+
|
52
|
+
<!-- lib directives can be used to instruct Solr to load an Jars
|
53
|
+
identified and use them to resolve any "plugins" specified in
|
54
|
+
your solrconfig.xml or schema.xml (ie: Analyzers, Request
|
55
|
+
Handlers, etc...).
|
56
|
+
|
57
|
+
All directories and paths are resolved relative to the
|
58
|
+
instanceDir.
|
59
|
+
|
60
|
+
If a "./lib" directory exists in your instanceDir, all files
|
61
|
+
found in it are included as if you had used the following
|
62
|
+
syntax...
|
63
|
+
|
64
|
+
<lib dir="./lib" />
|
65
|
+
-->
|
66
|
+
|
67
|
+
<!-- Blacklight jetty solr lib dirs -->
|
68
|
+
<lib dir="./contrib/extraction/lib" />
|
69
|
+
<lib dir="./contrib/clustering/lib/" />
|
70
|
+
<lib dir="./contrib/velocity/lib" />
|
71
|
+
<lib dir="./contrib/analysis-extras/lib" />
|
72
|
+
<lib dir="./contrib/analysis-extras/lucene-libs" />
|
73
|
+
|
74
|
+
<!-- A dir option by itself adds any files found in the directory to
|
75
|
+
the classpath, this is useful for including all jars in a
|
76
|
+
directory.
|
77
|
+
-->
|
78
|
+
<lib dir="../../contrib/extraction/lib" />
|
79
|
+
<lib dir="../../contrib/clustering/lib/" />
|
80
|
+
<lib dir="../../contrib/velocity/lib" />
|
81
|
+
|
82
|
+
<!-- When a regex is specified in addition to a directory, only the
|
83
|
+
files in that directory which completely match the regex
|
84
|
+
(anchored on both ends) will be included.
|
85
|
+
-->
|
86
|
+
<lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar" />
|
87
|
+
<lib dir="../../dist/" regex="apache-solr-clustering-\d.*\.jar" />
|
88
|
+
<lib dir="../../dist/" regex="apache-solr-dataimporthandler-\d.*\.jar" />
|
89
|
+
<lib dir="../../dist/" regex="apache-solr-langid-\d.*\.jar" />
|
90
|
+
<lib dir="../../dist/" regex="apache-solr-velocity-\d.*\.jar" />
|
91
|
+
|
92
|
+
<!-- If a dir option (with or without a regex) is used and nothing
|
93
|
+
is found that matches, it will be ignored
|
94
|
+
-->
|
95
|
+
<lib dir="../../contrib/clustering/lib/" />
|
96
|
+
<lib dir="/total/crap/dir/ignored" />
|
97
|
+
|
98
|
+
<!-- an exact path can be used to specify a specific file. This
|
99
|
+
will cause a serious error to be logged if it can't be loaded.
|
100
|
+
-->
|
101
|
+
<!--
|
102
|
+
<lib path="../a-jar-that-does-not-exist.jar" />
|
103
|
+
-->
|
104
|
+
|
105
|
+
<!-- Data Directory
|
106
|
+
|
107
|
+
Used to specify an alternate directory to hold all index data
|
108
|
+
other than the default ./data under the Solr home. If
|
109
|
+
replication is in use, this should match the replication
|
110
|
+
configuration.
|
111
|
+
-->
|
112
|
+
<dataDir>${solr.data.dir:}</dataDir>
|
113
|
+
|
114
|
+
|
115
|
+
<!-- The DirectoryFactory to use for indexes.
|
116
|
+
|
117
|
+
solr.StandardDirectoryFactory, the default, is filesystem
|
118
|
+
based. solr.RAMDirectoryFactory is memory based, not
|
119
|
+
persistent, and doesn't work with replication.
|
120
|
+
-->
|
121
|
+
<directoryFactory name="DirectoryFactory"
|
122
|
+
class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
|
123
|
+
|
124
|
+
|
125
|
+
<!-- Index Defaults
|
126
|
+
|
127
|
+
Values here affect all index writers and act as a default
|
128
|
+
unless overridden.
|
129
|
+
|
130
|
+
WARNING: See also the <mainIndex> section below for parameters
|
131
|
+
that overfor Solr's main Lucene index.
|
132
|
+
-->
|
133
|
+
<indexDefaults>
|
134
|
+
|
135
|
+
<useCompoundFile>false</useCompoundFile>
|
136
|
+
|
137
|
+
<mergeFactor>10</mergeFactor>
|
138
|
+
<!-- Sets the amount of RAM that may be used by Lucene indexing
|
139
|
+
for buffering added documents and deletions before they are
|
140
|
+
flushed to the Directory. -->
|
141
|
+
<ramBufferSizeMB>32</ramBufferSizeMB>
|
142
|
+
<!-- If both ramBufferSizeMB and maxBufferedDocs is set, then
|
143
|
+
Lucene will flush based on whichever limit is hit first.
|
144
|
+
-->
|
145
|
+
<!-- <maxBufferedDocs>1000</maxBufferedDocs> -->
|
146
|
+
|
147
|
+
<maxFieldLength>10000</maxFieldLength>
|
148
|
+
<writeLockTimeout>1000</writeLockTimeout>
|
149
|
+
|
150
|
+
<!-- Expert: Merge Policy
|
151
|
+
|
152
|
+
The Merge Policy in Lucene controls how merging is handled by
|
153
|
+
Lucene. The default in Solr 3.3 is TieredMergePolicy.
|
154
|
+
|
155
|
+
The default in 2.3 was the LogByteSizeMergePolicy,
|
156
|
+
previous versions used LogDocMergePolicy.
|
157
|
+
|
158
|
+
LogByteSizeMergePolicy chooses segments to merge based on
|
159
|
+
their size. The Lucene 2.2 default, LogDocMergePolicy chose
|
160
|
+
when to merge based on number of documents
|
161
|
+
|
162
|
+
Other implementations of MergePolicy must have a no-argument
|
163
|
+
constructor
|
164
|
+
-->
|
165
|
+
<!--
|
166
|
+
<mergePolicy class="org.apache.lucene.index.TieredMergePolicy"/>
|
167
|
+
-->
|
168
|
+
|
169
|
+
<!-- Expert: Merge Scheduler
|
170
|
+
|
171
|
+
The Merge Scheduler in Lucene controls how merges are
|
172
|
+
performed. The ConcurrentMergeScheduler (Lucene 2.3 default)
|
173
|
+
can perform merges in the background using separate threads.
|
174
|
+
The SerialMergeScheduler (Lucene 2.2 default) does not.
|
175
|
+
-->
|
176
|
+
<!--
|
177
|
+
<mergeScheduler class="org.apache.lucene.index.ConcurrentMergeScheduler"/>
|
178
|
+
-->
|
179
|
+
|
180
|
+
<!-- LockFactory
|
181
|
+
|
182
|
+
This option specifies which Lucene LockFactory implementation
|
183
|
+
to use.
|
184
|
+
|
185
|
+
single = SingleInstanceLockFactory - suggested for a
|
186
|
+
read-only index or when there is no possibility of
|
187
|
+
another process trying to modify the index.
|
188
|
+
native = NativeFSLockFactory - uses OS native file locking.
|
189
|
+
Do not use when multiple solr webapps in the same
|
190
|
+
JVM are attempting to share a single index.
|
191
|
+
simple = SimpleFSLockFactory - uses a plain file for locking
|
192
|
+
|
193
|
+
(For backwards compatibility with Solr 1.2, 'simple' is the
|
194
|
+
default if not specified.)
|
195
|
+
|
196
|
+
More details on the nuances of each LockFactory...
|
197
|
+
http://wiki.apache.org/lucene-java/AvailableLockFactories
|
198
|
+
-->
|
199
|
+
<lockType>native</lockType>
|
200
|
+
|
201
|
+
<!-- Expert: Controls how often Lucene loads terms into memory
|
202
|
+
Default is 128 and is likely good for most everyone.
|
203
|
+
-->
|
204
|
+
<!-- <termIndexInterval>256</termIndexInterval> -->
|
205
|
+
</indexDefaults>
|
206
|
+
|
207
|
+
<!-- Main Index
|
208
|
+
|
209
|
+
Values here override the values in the <indexDefaults> section
|
210
|
+
for the main on disk index.
|
211
|
+
-->
|
212
|
+
<mainIndex>
|
213
|
+
|
214
|
+
<useCompoundFile>false</useCompoundFile>
|
215
|
+
<ramBufferSizeMB>32</ramBufferSizeMB>
|
216
|
+
<mergeFactor>10</mergeFactor>
|
217
|
+
|
218
|
+
<!-- Unlock On Startup
|
219
|
+
|
220
|
+
If true, unlock any held write or commit locks on startup.
|
221
|
+
This defeats the locking mechanism that allows multiple
|
222
|
+
processes to safely access a lucene index, and should be used
|
223
|
+
with care.
|
224
|
+
|
225
|
+
This is not needed if lock type is 'none' or 'single'
|
226
|
+
-->
|
227
|
+
<unlockOnStartup>false</unlockOnStartup>
|
228
|
+
|
229
|
+
<!-- If true, IndexReaders will be reopened (often more efficient)
|
230
|
+
instead of closed and then opened.
|
231
|
+
-->
|
232
|
+
<reopenReaders>true</reopenReaders>
|
233
|
+
|
234
|
+
<!-- Commit Deletion Policy
|
235
|
+
|
236
|
+
Custom deletion policies can specified here. The class must
|
237
|
+
implement org.apache.lucene.index.IndexDeletionPolicy.
|
238
|
+
|
239
|
+
http://lucene.apache.org/java/2_9_1/api/all/org/apache/lucene/index/IndexDeletionPolicy.html
|
240
|
+
|
241
|
+
The standard Solr IndexDeletionPolicy implementation supports
|
242
|
+
deleting index commit points on number of commits, age of
|
243
|
+
commit point and optimized status.
|
244
|
+
|
245
|
+
The latest commit point should always be preserved regardless
|
246
|
+
of the criteria.
|
247
|
+
-->
|
248
|
+
<deletionPolicy class="solr.SolrDeletionPolicy">
|
249
|
+
<!-- The number of commit points to be kept -->
|
250
|
+
<str name="maxCommitsToKeep">1</str>
|
251
|
+
<!-- The number of optimized commit points to be kept -->
|
252
|
+
<str name="maxOptimizedCommitsToKeep">0</str>
|
253
|
+
<!--
|
254
|
+
Delete all commit points once they have reached the given age.
|
255
|
+
Supports DateMathParser syntax e.g.
|
256
|
+
-->
|
257
|
+
<!--
|
258
|
+
<str name="maxCommitAge">30MINUTES</str>
|
259
|
+
<str name="maxCommitAge">1DAY</str>
|
260
|
+
-->
|
261
|
+
</deletionPolicy>
|
262
|
+
|
263
|
+
<!-- Lucene Infostream
|
264
|
+
|
265
|
+
To aid in advanced debugging, Lucene provides an "InfoStream"
|
266
|
+
of detailed information when indexing.
|
267
|
+
|
268
|
+
Setting The value to true will instruct the underlying Lucene
|
269
|
+
IndexWriter to write its debugging info the specified file
|
270
|
+
-->
|
271
|
+
<infoStream file="INFOSTREAM.txt">false</infoStream>
|
272
|
+
|
273
|
+
</mainIndex>
|
274
|
+
|
275
|
+
<!-- JMX
|
276
|
+
|
277
|
+
This example enables JMX if and only if an existing MBeanServer
|
278
|
+
is found, use this if you want to configure JMX through JVM
|
279
|
+
parameters. Remove this to disable exposing Solr configuration
|
280
|
+
and statistics to JMX.
|
281
|
+
|
282
|
+
For more details see http://wiki.apache.org/solr/SolrJmx
|
283
|
+
-->
|
284
|
+
<jmx />
|
285
|
+
<!-- If you want to connect to a particular server, specify the
|
286
|
+
agentId
|
287
|
+
-->
|
288
|
+
<!-- <jmx agentId="myAgent" /> -->
|
289
|
+
<!-- If you want to start a new MBeanServer, specify the serviceUrl -->
|
290
|
+
<!-- <jmx serviceUrl="service:jmx:rmi:///jndi/rmi://localhost:9999/solr"/>
|
291
|
+
-->
|
292
|
+
|
293
|
+
<!-- The default high-performance update handler -->
|
294
|
+
<updateHandler class="solr.DirectUpdateHandler2">
|
295
|
+
|
296
|
+
<!-- AutoCommit
|
297
|
+
|
298
|
+
Perform a <commit/> automatically under certain conditions.
|
299
|
+
Instead of enabling autoCommit, consider using "commitWithin"
|
300
|
+
when adding documents.
|
301
|
+
|
302
|
+
http://wiki.apache.org/solr/UpdateXmlMessages
|
303
|
+
|
304
|
+
maxDocs - Maximum number of documents to add since the last
|
305
|
+
commit before automatically triggering a new commit.
|
306
|
+
|
307
|
+
maxTime - Maximum amount of time that is allowed to pass
|
308
|
+
since a document was added before automaticly
|
309
|
+
triggering a new commit.
|
310
|
+
-->
|
311
|
+
<!--
|
312
|
+
<autoCommit>
|
313
|
+
<maxDocs>10000</maxDocs>
|
314
|
+
<maxTime>1000</maxTime>
|
315
|
+
</autoCommit>
|
316
|
+
-->
|
317
|
+
|
318
|
+
<!-- Update Related Event Listeners
|
319
|
+
|
320
|
+
Various IndexWriter related events can trigger Listeners to
|
321
|
+
take actions.
|
322
|
+
|
323
|
+
postCommit - fired after every commit or optimize command
|
324
|
+
postOptimize - fired after every optimize command
|
325
|
+
-->
|
326
|
+
<!-- The RunExecutableListener executes an external command from a
|
327
|
+
hook such as postCommit or postOptimize.
|
328
|
+
|
329
|
+
exe - the name of the executable to run
|
330
|
+
dir - dir to use as the current working directory. (default=".")
|
331
|
+
wait - the calling thread waits until the executable returns.
|
332
|
+
(default="true")
|
333
|
+
args - the arguments to pass to the program. (default is none)
|
334
|
+
env - environment variables to set. (default is none)
|
335
|
+
-->
|
336
|
+
<!-- This example shows how RunExecutableListener could be used
|
337
|
+
with the script based replication...
|
338
|
+
http://wiki.apache.org/solr/CollectionDistribution
|
339
|
+
-->
|
340
|
+
<!--
|
341
|
+
<listener event="postCommit" class="solr.RunExecutableListener">
|
342
|
+
<str name="exe">solr/bin/snapshooter</str>
|
343
|
+
<str name="dir">.</str>
|
344
|
+
<bool name="wait">true</bool>
|
345
|
+
<arr name="args"> <str>arg1</str> <str>arg2</str> </arr>
|
346
|
+
<arr name="env"> <str>MYVAR=val1</str> </arr>
|
347
|
+
</listener>
|
348
|
+
-->
|
349
|
+
</updateHandler>
|
350
|
+
|
351
|
+
<!-- IndexReaderFactory
|
352
|
+
|
353
|
+
Use the following format to specify a custom IndexReaderFactory,
|
354
|
+
which allows for alternate IndexReader implementations.
|
355
|
+
|
356
|
+
** Experimental Feature **
|
357
|
+
|
358
|
+
Please note - Using a custom IndexReaderFactory may prevent
|
359
|
+
certain other features from working. The API to
|
360
|
+
IndexReaderFactory may change without warning or may even be
|
361
|
+
removed from future releases if the problems cannot be
|
362
|
+
resolved.
|
363
|
+
|
364
|
+
|
365
|
+
** Features that may not work with custom IndexReaderFactory **
|
|