blacklight-citeproc 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/.env +3 -0
  3. data/.internal_test_app/solr/conf/_rest_managed.json +3 -0
  4. data/.internal_test_app/solr/conf/admin-extra.html +31 -0
  5. data/.internal_test_app/solr/conf/currency.xml +67 -0
  6. data/.internal_test_app/solr/conf/email_url_types.txt +2 -0
  7. data/.internal_test_app/solr/conf/lang/contractions_ca.txt +8 -0
  8. data/.internal_test_app/solr/conf/lang/contractions_fr.txt +15 -0
  9. data/.internal_test_app/solr/conf/lang/contractions_ga.txt +5 -0
  10. data/.internal_test_app/solr/conf/lang/contractions_it.txt +23 -0
  11. data/.internal_test_app/solr/conf/lang/hyphenations_ga.txt +5 -0
  12. data/.internal_test_app/solr/conf/lang/stemdict_nl.txt +6 -0
  13. data/.internal_test_app/solr/conf/lang/stoptags_ja.txt +420 -0
  14. data/.internal_test_app/solr/conf/lang/stopwords_ar.txt +125 -0
  15. data/.internal_test_app/solr/conf/lang/stopwords_bg.txt +193 -0
  16. data/.internal_test_app/solr/conf/lang/stopwords_ca.txt +220 -0
  17. data/.internal_test_app/solr/conf/lang/stopwords_cz.txt +172 -0
  18. data/.internal_test_app/solr/conf/lang/stopwords_da.txt +110 -0
  19. data/.internal_test_app/solr/conf/lang/stopwords_de.txt +294 -0
  20. data/.internal_test_app/solr/conf/lang/stopwords_el.txt +78 -0
  21. data/.internal_test_app/solr/conf/lang/stopwords_en.txt +54 -0
  22. data/.internal_test_app/solr/conf/lang/stopwords_es.txt +356 -0
  23. data/.internal_test_app/solr/conf/lang/stopwords_eu.txt +99 -0
  24. data/.internal_test_app/solr/conf/lang/stopwords_fa.txt +313 -0
  25. data/.internal_test_app/solr/conf/lang/stopwords_fi.txt +97 -0
  26. data/.internal_test_app/solr/conf/lang/stopwords_fr.txt +186 -0
  27. data/.internal_test_app/solr/conf/lang/stopwords_ga.txt +110 -0
  28. data/.internal_test_app/solr/conf/lang/stopwords_gl.txt +161 -0
  29. data/.internal_test_app/solr/conf/lang/stopwords_hi.txt +235 -0
  30. data/.internal_test_app/solr/conf/lang/stopwords_hu.txt +211 -0
  31. data/.internal_test_app/solr/conf/lang/stopwords_hy.txt +46 -0
  32. data/.internal_test_app/solr/conf/lang/stopwords_id.txt +359 -0
  33. data/.internal_test_app/solr/conf/lang/stopwords_it.txt +303 -0
  34. data/.internal_test_app/solr/conf/lang/stopwords_ja.txt +127 -0
  35. data/.internal_test_app/solr/conf/lang/stopwords_lv.txt +172 -0
  36. data/.internal_test_app/solr/conf/lang/stopwords_nl.txt +119 -0
  37. data/.internal_test_app/solr/conf/lang/stopwords_no.txt +194 -0
  38. data/.internal_test_app/solr/conf/lang/stopwords_pt.txt +253 -0
  39. data/.internal_test_app/solr/conf/lang/stopwords_ro.txt +233 -0
  40. data/.internal_test_app/solr/conf/lang/stopwords_ru.txt +243 -0
  41. data/.internal_test_app/solr/conf/lang/stopwords_sv.txt +133 -0
  42. data/.internal_test_app/solr/conf/lang/stopwords_th.txt +119 -0
  43. data/.internal_test_app/solr/conf/lang/stopwords_tr.txt +212 -0
  44. data/.internal_test_app/solr/conf/lang/userdict_ja.txt +29 -0
  45. data/.internal_test_app/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  46. data/.internal_test_app/solr/conf/protwords.txt +21 -0
  47. data/.internal_test_app/solr/conf/schema.xml +408 -0
  48. data/.internal_test_app/solr/conf/scripts.conf +24 -0
  49. data/.internal_test_app/solr/conf/solrconfig.xml +1287 -0
  50. data/.internal_test_app/solr/conf/spellings.txt +2 -0
  51. data/.internal_test_app/solr/conf/stopwords.txt +14 -0
  52. data/.internal_test_app/solr/conf/stopwords_en.txt +58 -0
  53. data/.internal_test_app/solr/conf/synonyms.txt +13 -0
  54. data/.internal_test_app/solr/conf/update-script.js +115 -0
  55. data/.internal_test_app/solr/conf/velocity/browse.vm +32 -0
  56. data/.internal_test_app/solr/conf/velocity/dropit.js +0 -0
  57. data/.internal_test_app/solr/conf/velocity/facet_doc_type.vm +2 -0
  58. data/.internal_test_app/solr/conf/velocity/facet_text_shingles.vm +12 -0
  59. data/.internal_test_app/solr/conf/velocity/facets.vm +24 -0
  60. data/.internal_test_app/solr/conf/velocity/footer.vm +29 -0
  61. data/.internal_test_app/solr/conf/velocity/head.vm +290 -0
  62. data/.internal_test_app/solr/conf/velocity/hit.vm +77 -0
  63. data/.internal_test_app/solr/conf/velocity/img/english_640.png +0 -0
  64. data/.internal_test_app/solr/conf/velocity/img/france_640.png +0 -0
  65. data/.internal_test_app/solr/conf/velocity/img/germany_640.png +0 -0
  66. data/.internal_test_app/solr/conf/velocity/img/globe_256.png +0 -0
  67. data/.internal_test_app/solr/conf/velocity/jquery.tx3-tag-cloud.js +0 -0
  68. data/.internal_test_app/solr/conf/velocity/js/dropit.js +97 -0
  69. data/.internal_test_app/solr/conf/velocity/js/jquery.autocomplete.js +763 -0
  70. data/.internal_test_app/solr/conf/velocity/js/jquery.tx3-tag-cloud.js +70 -0
  71. data/.internal_test_app/solr/conf/velocity/layout.vm +42 -0
  72. data/.internal_test_app/solr/conf/velocity/macros.vm +16 -0
  73. data/.internal_test_app/solr/conf/velocity/mime_type_lists.vm +68 -0
  74. data/.internal_test_app/solr/conf/velocity/results.vm +20 -0
  75. data/.internal_test_app/solr/conf/velocity/results_list.vm +21 -0
  76. data/.internal_test_app/solr/conf/xslt/example.xsl +132 -0
  77. data/.internal_test_app/solr/conf/xslt/example_atom.xsl +67 -0
  78. data/.internal_test_app/solr/conf/xslt/example_rss.xsl +66 -0
  79. data/.internal_test_app/solr/conf/xslt/luke.xsl +337 -0
  80. data/Dockerfile +43 -0
  81. data/README.md +3 -0
  82. data/bin/entrypoint.sh +8 -0
  83. data/docker-compose.yml +33 -0
  84. data/lib/blacklight/citeproc/version.rb +1 -1
  85. metadata +83 -2
@@ -0,0 +1,21 @@
1
+ # The ASF licenses this file to You under the Apache License, Version 2.0
2
+ # (the "License"); you may not use this file except in compliance with
3
+ # the License. You may obtain a copy of the License at
4
+ #
5
+ # http://www.apache.org/licenses/LICENSE-2.0
6
+ #
7
+ # Unless required by applicable law or agreed to in writing, software
8
+ # distributed under the License is distributed on an "AS IS" BASIS,
9
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ # See the License for the specific language governing permissions and
11
+ # limitations under the License.
12
+
13
+ #-----------------------------------------------------------------------
14
+ # Use a protected word file to protect against the stemmer reducing two
15
+ # unrelated words to the same base word.
16
+
17
+ # Some non-words that normally won't be encountered,
18
+ # just to test that they won't be stemmed.
19
+ dontstems
20
+ zwhacky
21
+
@@ -0,0 +1,408 @@
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="format" type="string" stored="true" indexed="true" multiValued="true" />
11
+ <field name="_version_" type="long" indexed="true" stored="true"/>
12
+
13
+
14
+ <!-- NOTE: this is not a full list of fields in the index; dynamic fields are also used -->
15
+ <field name="id" type="string" stored="true" indexed="true" multiValued="false" required="true"/>
16
+ <!-- default, catch all search field -->
17
+ <field name="text" type="text" indexed="true" stored="false" multiValued="true"/>
18
+
19
+ <!-- these display fields are NOT multi-valued -->
20
+ <field name="marc_display" type="string" indexed="false" stored="true" multiValued="false"/>
21
+ <field name="title_display" type="string" indexed="false" stored="true" multiValued="false"/>
22
+ <field name="title_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
23
+ <field name="author_display" type="string" indexed="false" stored="true" multiValued="false"/>
24
+ <field name="author_vern_display" type="string" indexed="false" stored="true" multiValued="false"/>
25
+
26
+ <!-- these fields are also used for display, so they must be stored -->
27
+ <field name="isbn_t" type="text" indexed="true" stored="true" multiValued="true"/>
28
+ <field name="language_facet" type="string" indexed="true" stored="true" multiValued="true" />
29
+ <field name="record_source_facet" type="string" indexed="true" stored="true" multiValued="true" />
30
+ <!-- is_electronic_facet is used for CSV exports, so has to be stored-->
31
+ <field name="is_electronic_facet" type="string" indexed="true" stored="true" multiValued="true" />
32
+ <!-- pub_date is used for facet and display so it must be indexed and stored -->
33
+ <field name="pub_date" type="string" indexed="true" stored="true" multiValued="true"/>
34
+ <!-- pub_date sort uses new trie-based int fields, which are recommended for any int and are displayable, sortable, and range-quer
35
+ we use 'tint' for faster range-queries. -->
36
+ <field name="pub_date_sort" type="tint" indexed="true" stored="true" multiValued="false"/>
37
+
38
+ <field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
39
+
40
+ <field name="lat" type="tdouble" stored="true" indexed="true" multiValued="false"/>
41
+ <field name="lng" type="tdouble" stored="true" indexed="true" multiValued="false"/>
42
+ <!-- NOTE: not all possible Solr field types are represented in the dynamic fields -->
43
+
44
+ <!-- text (_t...) -->
45
+
46
+ <dynamicField name="*_ti" type="text" stored="false" indexed="true" multiValued="false"/>
47
+ <dynamicField name="*_tim" type="text" stored="false" indexed="true" multiValued="true"/>
48
+
49
+ <dynamicField name="*_ts" type="text" stored="true" indexed="false" multiValued="false"/>
50
+ <dynamicField name="*_tsm" type="text" stored="true" indexed="false" multiValued="true"/>
51
+ <dynamicField name="*_tsi" type="text" stored="true" indexed="true" multiValued="false"/>
52
+ <dynamicField name="*_tsim" type="text" stored="true" indexed="true" multiValued="true"/>
53
+ <dynamicField name="*_t" type="text" stored="true" indexed="true" multiValued="true"/>
54
+
55
+ <dynamicField name="*_tiv" type="text" stored="false" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
56
+ <dynamicField name="*_timv" type="text" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
57
+
58
+ <dynamicField name="*_tsiv" type="text" stored="true" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
59
+ <dynamicField name="*_tsimv" type="text" stored="true" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
60
+
61
+ <!-- English text (_te...) -->
62
+
63
+ <dynamicField name="*_tei" type="text_en" stored="false" indexed="true" multiValued="false"/>
64
+ <dynamicField name="*_teim" type="text_en" stored="false" indexed="true" multiValued="true"/>
65
+
66
+ <dynamicField name="*_tes" type="text_en" stored="true" indexed="false" multiValued="false"/>
67
+ <dynamicField name="*_tesm" type="text_en" stored="true" indexed="false" multiValued="true"/>
68
+ <dynamicField name="*_tesi" type="text_en" stored="true" indexed="true" multiValued="false"/>
69
+ <dynamicField name="*_tesim" type="text_en" stored="true" indexed="true" multiValued="true"/>
70
+
71
+ <dynamicField name="*_teiv" type="text_en" stored="false" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
72
+ <dynamicField name="*_teimv" type="text_en" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
73
+
74
+ <dynamicField name="*_tesiv" type="text_en" stored="true" indexed="true" multiValued="false" termVectors="true" termPositions="true" termOffsets="true"/>
75
+ <dynamicField name="*_tesimv" type="text_en" stored="true" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
76
+
77
+ <!-- string (_s...) -->
78
+
79
+ <dynamicField name="*_si" type="string" stored="false" indexed="true" multiValued="false"/>
80
+ <dynamicField name="*_sim" type="string" stored="false" indexed="true" multiValued="true"/>
81
+
82
+ <dynamicField name="*_ss" type="string" stored="true" indexed="false" multiValued="false"/>
83
+ <dynamicField name="*_ssm" type="string" stored="true" indexed="false" multiValued="true"/>
84
+ <dynamicField name="*_ssi" type="string" stored="true" indexed="true" multiValued="false"/>
85
+ <dynamicField name="*_ssim" type="string" stored="true" indexed="true" multiValued="true"/>
86
+
87
+ <dynamicField name="*_ssort" type="alphaSort" stored="false" indexed="true" multiValued="false"/>
88
+
89
+
90
+ <!-- integer (_i...) -->
91
+
92
+ <dynamicField name="*_ii" type="int" stored="false" indexed="true" multiValued="false"/>
93
+ <dynamicField name="*_iim" type="int" stored="false" indexed="true" multiValued="true"/>
94
+
95
+ <dynamicField name="*_is" type="int" stored="true" indexed="false" multiValued="false"/>
96
+ <dynamicField name="*_ism" type="int" stored="true" indexed="false" multiValued="true"/>
97
+ <dynamicField name="*_isi" type="int" stored="true" indexed="true" multiValued="false"/>
98
+ <dynamicField name="*_isim" type="int" stored="true" indexed="true" multiValued="true"/>
99
+
100
+ <!-- IntegerPointField (_it...) (for faster range queries) -->
101
+
102
+ <dynamicField name="*_iti" type="tint" stored="false" indexed="true" multiValued="false"/>
103
+ <dynamicField name="*_itim" type="tint" stored="false" indexed="true" multiValued="true"/>
104
+
105
+ <dynamicField name="*_its" type="tint" stored="true" indexed="false" multiValued="false"/>
106
+ <dynamicField name="*_itsm" type="tint" stored="true" indexed="false" multiValued="true"/>
107
+ <dynamicField name="*_itsi" type="tint" stored="true" indexed="true" multiValued="false"/>
108
+ <dynamicField name="*_itsim" type="tint" stored="true" indexed="true" multiValued="true"/>
109
+
110
+ <!-- date (_dt...) -->
111
+ <!-- The format for this date field is of the form 1995-12-31T23:59:59Z
112
+ Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z -->
113
+
114
+ <dynamicField name="*_dti" type="date" stored="false" indexed="true" multiValued="false"/>
115
+ <dynamicField name="*_dtim" type="date" stored="false" indexed="true" multiValued="true"/>
116
+
117
+ <dynamicField name="*_dts" type="date" stored="true" indexed="false" multiValued="false"/>
118
+ <dynamicField name="*_dtsm" type="date" stored="true" indexed="false" multiValued="true"/>
119
+ <dynamicField name="*_dtsi" type="date" stored="true" indexed="true" multiValued="false"/>
120
+ <dynamicField name="*_dtsim" type="date" stored="true" indexed="true" multiValued="true"/>
121
+
122
+ <!-- DatePointField (_dtt...) (for faster range queries) -->
123
+
124
+ <dynamicField name="*_dtti" type="tdate" stored="false" indexed="true" multiValued="false"/>
125
+ <dynamicField name="*_dttim" type="tdate" stored="false" indexed="true" multiValued="true"/>
126
+
127
+ <dynamicField name="*_dtts" type="tdate" stored="true" indexed="false" multiValued="false"/>
128
+ <dynamicField name="*_dttsm" type="tdate" stored="true" indexed="false" multiValued="true"/>
129
+ <dynamicField name="*_dttsi" type="tdate" stored="true" indexed="true" multiValued="false"/>
130
+ <dynamicField name="*_dttsim" type="tdate" stored="true" indexed="true" multiValued="true"/>
131
+
132
+ <!-- long (_l...) -->
133
+
134
+ <dynamicField name="*_li" type="long" stored="false" indexed="true" multiValued="false"/>
135
+ <dynamicField name="*_lim" type="long" stored="false" indexed="true" multiValued="true"/>
136
+
137
+ <dynamicField name="*_ls" type="long" stored="true" indexed="false" multiValued="false"/>
138
+ <dynamicField name="*_lsm" type="long" stored="true" indexed="false" multiValued="true"/>
139
+ <dynamicField name="*_lsi" type="long" stored="true" indexed="true" multiValued="false"/>
140
+ <dynamicField name="*_lsim" type="long" stored="true" indexed="true" multiValued="true"/>
141
+
142
+ <!-- LongPointField (_lt...) (for faster range queries) -->
143
+
144
+ <dynamicField name="*_lti" type="tlong" stored="false" indexed="true" multiValued="false"/>
145
+ <dynamicField name="*_ltim" type="tlong" stored="false" indexed="true" multiValued="true"/>
146
+
147
+ <dynamicField name="*_lts" type="tlong" stored="true" indexed="false" multiValued="false"/>
148
+ <dynamicField name="*_ltsm" type="tlong" stored="true" indexed="false" multiValued="true"/>
149
+ <dynamicField name="*_ltsi" type="tlong" stored="true" indexed="true" multiValued="false"/>
150
+ <dynamicField name="*_ltsim" type="tlong" stored="true" indexed="true" multiValued="true"/>
151
+
152
+ <!-- double (_db...) -->
153
+
154
+ <dynamicField name="*_dbi" type="double" stored="false" indexed="true" multiValued="false"/>
155
+ <dynamicField name="*_dbim" type="double" stored="false" indexed="true" multiValued="true"/>
156
+
157
+ <dynamicField name="*_dbs" type="double" stored="true" indexed="false" multiValued="false"/>
158
+ <dynamicField name="*_dbsm" type="double" stored="true" indexed="false" multiValued="true"/>
159
+ <dynamicField name="*_dbsi" type="double" stored="true" indexed="true" multiValued="false"/>
160
+ <dynamicField name="*_dbsim" type="double" stored="true" indexed="true" multiValued="true"/>
161
+
162
+ <!-- DoublePointField (_dbt...) (for faster range queries) -->
163
+
164
+ <dynamicField name="*_dbti" type="tdouble" stored="false" indexed="true" multiValued="false"/>
165
+ <dynamicField name="*_dbtim" type="tdouble" stored="false" indexed="true" multiValued="true"/>
166
+
167
+ <dynamicField name="*_dbts" type="tdouble" stored="true" indexed="false" multiValued="false"/>
168
+ <dynamicField name="*_dbtsm" type="tdouble" stored="true" indexed="false" multiValued="true"/>
169
+ <dynamicField name="*_dbtsi" type="tdouble" stored="true" indexed="true" multiValued="false"/>
170
+ <dynamicField name="*_dbtsim" type="tdouble" stored="true" indexed="true" multiValued="true"/>
171
+
172
+ <!-- float (_f...) -->
173
+
174
+ <dynamicField name="*_fi" type="float" stored="false" indexed="true" multiValued="false"/>
175
+ <dynamicField name="*_fim" type="float" stored="false" indexed="true" multiValued="true"/>
176
+
177
+ <dynamicField name="*_fs" type="float" stored="true" indexed="false" multiValued="false"/>
178
+ <dynamicField name="*_fsm" type="float" stored="true" indexed="false" multiValued="true"/>
179
+ <dynamicField name="*_fsi" type="float" stored="true" indexed="true" multiValued="false"/>
180
+ <dynamicField name="*_fsim" type="float" stored="true" indexed="true" multiValued="true"/>
181
+
182
+ <!-- FloatPointField (_ft...) (for faster range queries) -->
183
+
184
+ <dynamicField name="*_fti" type="tfloat" stored="false" indexed="true" multiValued="false"/>
185
+ <dynamicField name="*_ftim" type="tfloat" stored="false" indexed="true" multiValued="true"/>
186
+
187
+ <dynamicField name="*_fts" type="tfloat" stored="true" indexed="false" multiValued="false"/>
188
+ <dynamicField name="*_ftsm" type="tfloat" stored="true" indexed="false" multiValued="true"/>
189
+ <dynamicField name="*_ftsi" type="tfloat" stored="true" indexed="true" multiValued="false"/>
190
+ <dynamicField name="*_ftsim" type="tfloat" stored="true" indexed="true" multiValued="true"/>
191
+
192
+ <!-- boolean (_b...) -->
193
+
194
+ <dynamicField name="*_bi" type="boolean" stored="false" indexed="true" multiValued="false"/>
195
+
196
+ <dynamicField name="*_bs" type="boolean" stored="true" indexed="false" multiValued="false"/>
197
+ <dynamicField name="*_bsi" type="boolean" stored="true" indexed="true" multiValued="false"/>
198
+
199
+ <!-- Type used to index the lat and lon components for the "location" FieldType -->
200
+
201
+ <dynamicField name="*_coordinate" type="tdouble" indexed="true" stored="false" />
202
+
203
+
204
+ <!-- location (_ll...) -->
205
+
206
+ <dynamicField name="*_lli" type="location" stored="false" indexed="true" multiValued="false"/>
207
+ <dynamicField name="*_llim" type="location" stored="false" indexed="true" multiValued="true"/>
208
+
209
+ <dynamicField name="*_lls" type="location" stored="true" indexed="false" multiValued="false"/>
210
+ <dynamicField name="*_llsm" type="location" stored="true" indexed="false" multiValued="true"/>
211
+ <dynamicField name="*_llsi" type="location" stored="true" indexed="true" multiValued="false"/>
212
+ <dynamicField name="*_llsim" type="location" stored="true" indexed="true" multiValued="true"/>
213
+
214
+ <dynamicField name="*_bbox" type="bbox" stored="true" indexed="true" />
215
+
216
+
217
+ <!-- suggest and spelling -->
218
+ <dynamicField name="*spell" type="textSpell" indexed="true" stored="false" multiValued="true" />
219
+ <dynamicField name="*suggest" type="textSuggest" indexed="true" stored="false" multiValued="true" />
220
+
221
+ <dynamicField name="*_display" type="string" indexed="false" stored="true" multiValued="true" />
222
+ <dynamicField name="*_facet" type="string" indexed="true" stored="false" multiValued="true" />
223
+
224
+ <!-- you must define copyField source and dest fields explicity or schemaBrowser doesn't work -->
225
+ <field name="all_text_timv" type="text" stored="false" indexed="true" multiValued="true" termVectors="true" termPositions="true" termOffsets="true"/>
226
+
227
+
228
+ </fields>
229
+
230
+
231
+ <!-- Above, multiple source fields are copied to the [text] field.
232
+ Another way to map multiple source fields to the same
233
+ destination field is to use the dynamic field syntax.
234
+ copyField also supports a maxChars to copy setting. -->
235
+
236
+ <copyField source="*_tsim" dest="all_text_timv" maxChars="3000"/>
237
+ <copyField source="*_tesim" dest="all_text_timv" maxChars="3000"/>
238
+ <copyField source="*_ssim" dest="all_text_timv" maxChars="3000"/>
239
+ <copyField source="*_si" dest="all_text_timv" maxChars="3000"/>
240
+
241
+ <copyField source="*_ssim" dest="*_tsim" maxChars="3000"/>
242
+
243
+ <copyField source="author_display" dest="suggest"/>
244
+ <copyField source="subject_topic_ssim" dest="suggest"/>
245
+ <copyField source="subtitle_display" dest="suggest"/>
246
+ <copyField source="title_t" dest="suggest"/>
247
+
248
+ <copyField source="author_display" dest="spell"/>
249
+ <copyField source="contents_t" dest="spell"/>
250
+ <copyField source="subject_topic_ssim" dest="spell"/>
251
+ <copyField source="subtitle_display" dest="spell"/>
252
+ <copyField source="title_t" dest="spell"/>
253
+
254
+ <copyField source="author_display" dest="author_spell"/>
255
+ <copyField source="title_display" dest="title_spell"/>
256
+
257
+ <copyField source="author_display" dest="author_facet"/>
258
+ <copyField source="contributor_display" dest="author_facet"/>
259
+
260
+ <types>
261
+ <fieldType name="string" class="solr.StrField" sortMissingLast="true" />
262
+ <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/>
263
+ <fieldType name="rand" class="solr.RandomSortField" omitNorms="true"/>
264
+
265
+ <!-- Default numeric field types. -->
266
+ <fieldType name="int" class="solr.IntPointField" docValues="true"/>
267
+ <fieldType name="float" class="solr.FloatPointField" docValues="true"/>
268
+ <fieldType name="long" class="solr.LongPointField" docValues="true"/>
269
+ <fieldType name="double" class="solr.DoublePointField" docValues="true"/>
270
+
271
+ <!-- PointField numeric field types for faster range queries -->
272
+ <fieldType name="tint" class="solr.IntPointField" docValues="true"/>
273
+ <fieldType name="tfloat" class="solr.FloatPointField" docValues="true"/>
274
+ <fieldType name="tlong" class="solr.LongPointField" docValues="true"/>
275
+ <fieldType name="tdouble" class="solr.DoublePointField" docValues="true"/>
276
+
277
+ <!-- The format for this date field is of the form 1995-12-31T23:59:59Z
278
+ Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
279
+ -->
280
+ <fieldType name="date" class="solr.DatePointField" docValues="true"/>
281
+ <!-- A PointField based date field for faster date range queries and date faceting. -->
282
+ <fieldType name="tdate" class="solr.DatePointField" docValues="true"/>
283
+
284
+
285
+ <!-- This point type indexes the coordinates as separate fields (subFields)
286
+ If subFieldType is defined, it references a type, and a dynamic field
287
+ definition is created matching *___<typename>. Alternately, if
288
+ subFieldSuffix is defined, that is used to create the subFields.
289
+ Example: if subFieldType="double", then the coordinates would be
290
+ indexed in fields myloc_0___double,myloc_1___double.
291
+ Example: if subFieldSuffix="_d" then the coordinates would be indexed
292
+ in fields myloc_0_d,myloc_1_d
293
+ The subFields are an implementation detail of the fieldType, and end
294
+ users normally should not need to know about them.
295
+ -->
296
+ <fieldType name="point" class="solr.PointType" dimension="2" subFieldSuffix="_d"/>
297
+
298
+ <!-- A specialized field for geospatial search filters and distance sorting. -->
299
+ <fieldType name="location" class="solr.LatLonPointSpatialField" docValues="true"/>
300
+
301
+ <!-- An alternative geospatial field type new to Solr 4. It supports multiValued and polygon shapes.
302
+ For more information about this and other Spatial fields new to Solr 4, see:
303
+ http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
304
+ -->
305
+
306
+ <field name="bbox" type="bbox" />
307
+ <fieldType name="bbox" class="solr.BBoxField"
308
+ geo="true" distanceUnits="kilometers" numberType="_bbox_coord" storeSubFields="false"/>
309
+ <fieldType name="_bbox_coord" class="solr.DoublePointField" docValues="true" stored="false"/>
310
+
311
+ <fieldType name="text" class="solr.TextField" positionIncrementGap="100" omitNorms="false">
312
+ <analyzer type="index">
313
+ <tokenizer class="solr.StandardTokenizerFactory"/>
314
+ <filter class="solr.StopFilterFactory" words="lang/stopwords_en.txt" ignoreCase="true"/>
315
+ <filter class="solr.LowerCaseFilterFactory"/>
316
+ <filter class="solr.EnglishPossessiveFilterFactory"/>
317
+ <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
318
+ <filter class="solr.PorterStemFilterFactory"/>
319
+ </analyzer>
320
+ <analyzer type="query">
321
+ <tokenizer class="solr.StandardTokenizerFactory"/>
322
+ <filter class="solr.SynonymGraphFilterFactory" expand="true" ignoreCase="true" synonyms="synonyms.txt"/>
323
+ <filter class="solr.StopFilterFactory" words="lang/stopwords_en.txt" ignoreCase="true"/>
324
+ <filter class="solr.LowerCaseFilterFactory"/>
325
+ <filter class="solr.EnglishPossessiveFilterFactory"/>
326
+ <filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
327
+ <filter class="solr.PorterStemFilterFactory"/>
328
+ </analyzer>
329
+ </fieldType>
330
+
331
+ <!-- A text field that only splits on whitespace for exact matching of words -->
332
+ <fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
333
+ <analyzer>
334
+ <tokenizer class="solr.WhitespaceTokenizerFactory"/>
335
+ <filter class="solr.TrimFilterFactory"/>
336
+ </analyzer>
337
+ </fieldType>
338
+
339
+ <!-- single token analyzed text, for sorting. Punctuation is significant. -->
340
+ <fieldtype name="alphaSort" class="solr.TextField" sortMissingLast="true" omitNorms="true">
341
+ <analyzer>
342
+ <tokenizer class="solr.KeywordTokenizerFactory" />
343
+ <filter class="solr.ASCIIFoldingFilterFactory"/>
344
+ <filter class="solr.TrimFilterFactory" />
345
+ </analyzer>
346
+ </fieldtype>
347
+
348
+ <!-- A text field with defaults appropriate for English -->
349
+ <fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
350
+ <analyzer>
351
+ <tokenizer class="solr.StandardTokenizerFactory"/>
352
+ <filter class="solr.ASCIIFoldingFilterFactory"/> <!-- NFKC, case folding, diacritics removed -->
353
+ <filter class="solr.EnglishPossessiveFilterFactory"/>
354
+ <!-- EnglishMinimalStemFilterFactory is less aggressive than PorterStemFilterFactory: -->
355
+ <filter class="solr.EnglishMinimalStemFilterFactory"/>
356
+ <!--
357
+ <filter class="solr.PorterStemFilterFactory"/>
358
+ -->
359
+ <filter class="solr.TrimFilterFactory"/>
360
+ </analyzer>
361
+ </fieldType>
362
+
363
+ <fieldType name="pid_text" class="solr.TextField" positionIncrementGap="100">
364
+ <analyzer>
365
+ <tokenizer class="solr.KeywordTokenizerFactory"/>
366
+ </analyzer>
367
+ </fieldType>
368
+
369
+ <fieldType name="textSpell" class="solr.TextField" positionIncrementGap="100" >
370
+ <analyzer>
371
+ <tokenizer class="solr.StandardTokenizerFactory"/>
372
+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
373
+ <filter class="solr.LowerCaseFilterFactory"/>
374
+ <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
375
+ </analyzer>
376
+ </fieldType>
377
+
378
+ <fieldType class="solr.TextField" name="textSuggest" positionIncrementGap="100">
379
+ <analyzer>
380
+ <tokenizer class="solr.KeywordTokenizerFactory"/>
381
+ <filter class="solr.LowerCaseFilterFactory"/>
382
+ <filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
383
+ </analyzer>
384
+ </fieldType>
385
+
386
+ <!-- queries for paths match documents at that path, or in descendent paths -->
387
+ <fieldType name="descendent_path" class="solr.TextField">
388
+ <analyzer type="index">
389
+ <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />
390
+ </analyzer>
391
+ <analyzer type="query">
392
+ <tokenizer class="solr.KeywordTokenizerFactory" />
393
+ </analyzer>
394
+ </fieldType>
395
+
396
+ <!-- queries for paths match documents at that path, or in ancestor paths -->
397
+ <fieldType name="ancestor_path" class="solr.TextField">
398
+ <analyzer type="index">
399
+ <tokenizer class="solr.KeywordTokenizerFactory" />
400
+ </analyzer>
401
+ <analyzer type="query">
402
+ <tokenizer class="solr.PathHierarchyTokenizerFactory" delimiter="/" />
403
+ </analyzer>
404
+ </fieldType>
405
+
406
+ </types>
407
+
408
+ </schema>
@@ -0,0 +1,24 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright ownership.
4
+ # The ASF licenses this file to You under the Apache License, Version 2.0
5
+ # (the "License"); you may not use this file except in compliance with
6
+ # the License. You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ user=
17
+ solr_hostname=localhost
18
+ solr_port=8983
19
+ rsyncd_port=18983
20
+ data_dir=
21
+ webapp_name=solr
22
+ master_host=
23
+ master_data_dir=
24
+ master_status_dir=