active-fedora 6.0.0.pre1 → 6.0.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,57 +1,13 @@
1
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
2
  <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
- -->
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
+
42
7
  <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
43
8
 
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
9
  <luceneMatchVersion>LUCENE_40</luceneMatchVersion>
51
10
 
52
- <!-- The DirectoryFactory to use for indexes.
53
- solr.StandardDirectoryFactory, the default, is filesystem based.
54
- solr.RAMDirectoryFactory is memory based, not persistent, and doesn't work with replication. -->
55
11
  <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
56
12
 
57
13
  <!-- solr lib dirs -->
@@ -60,40 +16,18 @@
60
16
 
61
17
  <dataDir>${solr.data.dir:}</dataDir>
62
18
 
63
- <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
64
-
65
- <requestDispatcher handleSelect="true" >
66
- <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
67
- </requestDispatcher>
68
-
69
- <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />
70
- <requestHandler name="/update" class="solr.UpdateRequestHandler" />
71
- <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
72
-
73
- <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
74
- <lst name="invariants">
75
- <str name="q">solrpingquery</str>
76
- </lst>
77
- <lst name="defaults">
78
- <str name="echoParams">all</str>
79
- </lst>
80
- </requestHandler>
81
-
82
- <!-- config for the admin interface -->
83
- <admin>
84
- <defaultQuery>search</defaultQuery>
85
- </admin>
86
-
87
-
88
19
  <requestHandler name="search" class="solr.SearchHandler" default="true">
89
20
  <!-- default values for query parameters can be specified, these
90
21
  will be overridden by parameters in the request
91
22
  -->
92
23
  <lst name="defaults">
93
- <str name="defType">dismax</str>
24
+ <str name="defType">edismax</str>
94
25
  <str name="echoParams">explicit</str>
95
26
  <str name="q.alt">*:*</str>
96
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>
97
31
  <!-- this qf and pf are used by default, if not otherwise specified by
98
32
  client. The default blacklight_config will use these for the
99
33
  "keywords" search. See the author_qf/author_pf, title_qf, etc
@@ -103,93 +37,37 @@
103
37
  -->
104
38
  <str name="qf">
105
39
  id
106
- title_t^25000
107
- text
108
- active_fedora_model_s
109
- object_type_facet
40
+ all_text_timv
41
+ active_fedora_model_ssi
42
+ object_type_si
110
43
  </str>
111
44
  <str name="pf">
112
- id
113
- title_t^250000
114
- text^10
115
- active_fedora_model_s
116
- object_type_facet
45
+ all_text_timv^10
117
46
  </str>
118
47
 
119
48
  <str name="author_qf">
120
- author_unstem_search^200
121
- author_addl_unstem_search^50
122
- author_t^20
123
- author_addl_t
124
49
  </str>
125
50
  <str name="author_pf">
126
- author_unstem_search^2000
127
- author_addl_unstem_search^500
128
- author_t^200
129
- author_addl_t^10
130
51
  </str>
131
52
  <str name="title_qf">
132
- title_unstem_search^50000
133
- subtitle_unstem_search^25000
134
- title_addl_unstem_search^10000
135
- title_t^5000
136
- subtitle_t^2500
137
- title_addl_t^100
138
- title_added_entry_unstem_search^50
139
- title_added_entry_t^10
140
- title_series_unstem_search^5
141
- title_series_t
142
53
  </str>
143
54
  <str name="title_pf">
144
- title_unstem_search^500000
145
- subtitle_unstem_search^250000
146
- title_addl_unstem_search^100000
147
- title_t^50000
148
- subtitle_t^25000
149
- title_addl_t^1000
150
- title_added_entry_unstem_search^500
151
- title_added_entry_t^100
152
- title_series_t^50
153
- title_series_unstem_search^10
154
55
  </str>
155
56
  <str name="subject_qf">
156
- subject_topic_unstem_search^200
157
- subject_unstem_search^125
158
- subject_topic_facet^100
159
- subject_t^50
160
- subject_addl_unstem_search^10
161
- subject_addl_t
162
57
  </str>
163
58
  <str name="subject_pf">
164
- subject_topic_unstem_search^2000
165
- subject_unstem_search^1250
166
- subject_t^1000
167
- subject_topic_facet^500
168
- subject_addl_unstem_search^100
169
- subject_addl_t^10
170
59
  </str>
171
60
 
172
- <int name="ps">3</int>
173
- <float name="tie">0.01</float>
174
-
175
- <!-- NOT using marc_display because it is large and will slow things down for search results -->
176
61
  <str name="fl">
177
62
  *,
178
- score,
63
+ score
179
64
  </str>
180
65
 
181
66
  <str name="facet">true</str>
182
67
  <str name="facet.mincount">1</str>
183
68
  <str name="facet.limit">10</str>
184
- <str name="facet.field">format</str>
185
- <str name="facet.field">lc_1letter_facet</str>
186
- <str name="facet.field">lc_alpha_facet</str>
187
- <str name="facet.field">lc_b4cutter_facet</str>
188
- <str name="facet.field">language_facet</str>
189
- <str name="facet.field">pub_date</str>
190
- <str name="facet.field">subject_era_facet</str>
191
- <str name="facet.field">subject_geo_facet</str>
192
- <str name="facet.field">subject_topic_facet</str>
69
+ <str name="facet.field">active_fedora_model_ssi</str>
70
+ <str name="facet.field">object_type_si</str>
193
71
 
194
72
  <str name="spellcheck">true</str>
195
73
  <str name="spellcheck.dictionary">default</str>
@@ -202,16 +80,6 @@
202
80
  <arr name="last-components">
203
81
  <str>spellcheck</str>
204
82
  </arr>
205
-
206
- </requestHandler>
207
-
208
-
209
- <!-- Hydra Additions Start -->
210
-
211
- <requestHandler name="standard" class="solr.SearchHandler">
212
- <lst name="defaults">
213
- <str name="echoParams">explicit</str>
214
- </lst>
215
83
  </requestHandler>
216
84
 
217
85
  <requestHandler name="permissions" class="solr.SearchHandler" >
@@ -221,22 +89,23 @@
221
89
  <str name="rows">1</str>
222
90
  <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
223
91
  <str name="fl">
224
- id,access_t,
225
- discover_access_group_t,discover_access_person_t,
226
- read_access_group_t,read_access_person_t,
227
- edit_access_group_t,edit_access_person_t,
228
- depositor_t,
229
- embargo_release_date_dt,
230
- inheritable_access_t,
231
- inheritable_discover_access_group_t,inheritable_discover_access_person_t,
232
- inheritable_read_access_group_t,inheritable_read_access_person_t,
233
- inheritable_edit_access_group_t,inheritable_edit_access_person_t,
234
- inheritable_embargo_release_date_dt
92
+ id,
93
+ access_tim,
94
+ discover_access_group_tim,discover_access_person_tim,
95
+ read_access_group_tim,read_access_person_tim,
96
+ edit_access_group_tim,edit_access_person_tim,
97
+ depositor_ti,
98
+ embargo_release_date_dtsi
235
99
  </str>
236
100
  </lst>
237
101
  </requestHandler>
238
-
239
- <!-- Hydra Additions End -->
102
+
103
+ <requestHandler name="standard" class="solr.SearchHandler">
104
+ <lst name="defaults">
105
+ <str name="echoParams">explicit</str>
106
+ <str name="defType">lucene</str>
107
+ </lst>
108
+ </requestHandler>
240
109
 
241
110
  <!-- for requests to get a single document; use id=666 instead of q=id:666 -->
242
111
  <requestHandler name="document" class="solr.SearchHandler" >
@@ -249,24 +118,10 @@
249
118
  </requestHandler>
250
119
 
251
120
 
252
-
253
- <!-- Spell Check
254
-
255
- The spell check component can return a list of alternative spelling
256
- suggestions.
257
-
258
- http://wiki.apache.org/solr/SpellCheckComponent
259
- -->
260
121
  <searchComponent name="spellcheck" class="solr.SpellCheckComponent">
261
-
262
122
  <str name="queryAnalyzerFieldType">textSpell</str>
263
-
264
- <!-- Multiple "Spell Checkers" can be declared and used by this
265
- component
266
- -->
267
-
268
- <!-- a spellchecker built from a field of the main index, and
269
- written to disk
123
+ <!-- Multiple "Spell Checkers" can be declared and used by this component
124
+ (e.g. for title_spell field)
270
125
  -->
271
126
  <lst name="spellchecker">
272
127
  <str name="name">default</str>
@@ -274,26 +129,30 @@
274
129
  <str name="spellcheckIndexDir">./spell</str>
275
130
  <str name="buildOnOptimize">true</str>
276
131
  </lst>
277
- <lst name="spellchecker">
278
- <str name="name">author</str>
279
- <str name="field">author_spell</str>
280
- <str name="spellcheckIndexDir">./spell_author</str>
281
- <str name="accuracy">0.7</str>
282
- <str name="buildOnOptimize">true</str>
283
- </lst>
284
- <lst name="spellchecker">
285
- <str name="name">subject</str>
286
- <str name="field">subject_spell</str>
287
- <str name="spellcheckIndexDir">./spell_subject</str>
288
- <str name="accuracy">0.7</str>
289
- <str name="buildOnOptimize">true</str>
132
+ </searchComponent>
133
+
134
+ <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
135
+
136
+ <requestDispatcher handleSelect="true" >
137
+ <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
138
+ </requestDispatcher>
139
+
140
+ <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />
141
+ <requestHandler name="/update" class="solr.UpdateRequestHandler" />
142
+ <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
143
+
144
+ <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
145
+ <lst name="invariants">
146
+ <str name="q">solrpingquery</str>
290
147
  </lst>
291
- <lst name="spellchecker">
292
- <str name="name">title</str>
293
- <str name="field">title_spell</str>
294
- <str name="spellcheckIndexDir">./spell_title</str>
295
- <str name="accuracy">0.7</str>
296
- <str name="buildOnOptimize">true</str>
148
+ <lst name="defaults">
149
+ <str name="echoParams">all</str>
297
150
  </lst>
298
- </searchComponent>
151
+ </requestHandler>
152
+
153
+ <!-- config for the admin interface -->
154
+ <admin>
155
+ <defaultQuery>search</defaultQuery>
156
+ </admin>
157
+
299
158
  </config>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-fedora
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0.pre1
4
+ version: 6.0.0.pre2
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-01-23 00:00:00.000000000 Z
14
+ date: 2013-01-24 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rsolr
@@ -68,7 +68,7 @@ dependencies:
68
68
  requirements:
69
69
  - - ~>
70
70
  - !ruby/object:Gem::Version
71
- version: 3.0.0.pre1
71
+ version: 3.0.0.pre2
72
72
  type: :runtime
73
73
  prerelease: false
74
74
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ dependencies:
76
76
  requirements:
77
77
  - - ~>
78
78
  - !ruby/object:Gem::Version
79
- version: 3.0.0.pre1
79
+ version: 3.0.0.pre2
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: activeresource
82
82
  requirement: !ruby/object:Gem::Requirement