hydra-head 4.1.3 → 5.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. metadata +28 -617
  2. data/.gitignore +0 -73
  3. data/.gitmodules +0 -4
  4. data/Gemfile +0 -14
  5. data/HISTORY.textile +0 -99
  6. data/INSTALL_PREREQ.textile +0 -3
  7. data/LICENSE +0 -14
  8. data/README.textile +0 -129
  9. data/Rakefile +0 -5
  10. data/app/assets/images/hydra/powered_by_hydra.png +0 -0
  11. data/app/assets/images/hydra/search-button.png +0 -0
  12. data/app/assets/javascripts/date-picker/booking/index.html +0 -368
  13. data/app/assets/javascripts/date-picker/calendarHTML.txt +0 -84
  14. data/app/assets/javascripts/date-picker/css/datepicker.css +0 -511
  15. data/app/assets/javascripts/date-picker/css/demo.css +0 -229
  16. data/app/assets/javascripts/date-picker/index.html +0 -798
  17. data/app/assets/javascripts/date-picker/js/datepicker.js +0 -2898
  18. data/app/assets/javascripts/date-picker/js/datepicker.packed.js +0 -1
  19. data/app/assets/javascripts/date-picker/js/lang/ar.js +0 -9
  20. data/app/assets/javascripts/date-picker/js/lang/cs.js +0 -9
  21. data/app/assets/javascripts/date-picker/js/lang/da.js +0 -10
  22. data/app/assets/javascripts/date-picker/js/lang/de.js +0 -10
  23. data/app/assets/javascripts/date-picker/js/lang/en.js +0 -9
  24. data/app/assets/javascripts/date-picker/js/lang/eo.js +0 -13
  25. data/app/assets/javascripts/date-picker/js/lang/es.js +0 -9
  26. data/app/assets/javascripts/date-picker/js/lang/et.js +0 -23
  27. data/app/assets/javascripts/date-picker/js/lang/fi.js +0 -7
  28. data/app/assets/javascripts/date-picker/js/lang/fr.js +0 -69
  29. data/app/assets/javascripts/date-picker/js/lang/he.js +0 -9
  30. data/app/assets/javascripts/date-picker/js/lang/hu.js +0 -9
  31. data/app/assets/javascripts/date-picker/js/lang/id.js +0 -9
  32. data/app/assets/javascripts/date-picker/js/lang/it.js +0 -11
  33. data/app/assets/javascripts/date-picker/js/lang/kr.js +0 -9
  34. data/app/assets/javascripts/date-picker/js/lang/lt.js +0 -8
  35. data/app/assets/javascripts/date-picker/js/lang/lv.js +0 -9
  36. data/app/assets/javascripts/date-picker/js/lang/nl.js +0 -9
  37. data/app/assets/javascripts/date-picker/js/lang/no.js +0 -9
  38. data/app/assets/javascripts/date-picker/js/lang/pl.js +0 -10
  39. data/app/assets/javascripts/date-picker/js/lang/pt-br.js +0 -11
  40. data/app/assets/javascripts/date-picker/js/lang/pt.js +0 -9
  41. data/app/assets/javascripts/date-picker/js/lang/ru.js +0 -11
  42. data/app/assets/javascripts/date-picker/js/lang/se.js +0 -9
  43. data/app/assets/javascripts/date-picker/js/lang/si.js +0 -9
  44. data/app/assets/javascripts/date-picker/js/lang/tr.js +0 -9
  45. data/app/assets/javascripts/date-picker/language/index.html +0 -240
  46. data/app/assets/javascripts/date-picker/media/Thumbs.db +0 -0
  47. data/app/assets/javascripts/date-picker/media/backstripes.gif +0 -0
  48. data/app/assets/javascripts/date-picker/media/bg_header.jpg +0 -0
  49. data/app/assets/javascripts/date-picker/media/bullet1.gif +0 -0
  50. data/app/assets/javascripts/date-picker/media/bullet2.gif +0 -0
  51. data/app/assets/javascripts/date-picker/media/cal-grey.gif +0 -0
  52. data/app/assets/javascripts/date-picker/media/cal.gif +0 -0
  53. data/app/assets/javascripts/date-picker/media/gradient-e5e5e5-ffffff.gif +0 -0
  54. data/app/assets/javascripts/hydra/hydra-head.js +0 -195
  55. data/app/assets/javascripts/hydra/mediashelf.datepicker.js +0 -39
  56. data/app/assets/javascripts/hydra/mediashelf.placeholder.js +0 -67
  57. data/app/assets/javascripts/jquery.form.js +0 -1076
  58. data/app/assets/javascripts/jquery.ui.datepicker.js +0 -1793
  59. data/app/assets/javascripts/spin.min.js +0 -2
  60. data/app/assets/stylesheets/hydra/html_refactor.css +0 -79
  61. data/app/assets/stylesheets/hydra/hydrangea-split-button.css +0 -18
  62. data/app/assets/stylesheets/hydra/hydrangea.css +0 -288
  63. data/app/assets/stylesheets/hydra/ie-styles.css +0 -149
  64. data/app/assets/stylesheets/hydra/styles.css +0 -946
  65. data/app/assets/stylesheets/redmond/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  66. data/app/assets/stylesheets/redmond/images/ui-bg_flat_55_fbec88_40x100.png +0 -0
  67. data/app/assets/stylesheets/redmond/images/ui-bg_glass_75_d0e5f5_1x400.png +0 -0
  68. data/app/assets/stylesheets/redmond/images/ui-bg_glass_85_dfeffc_1x400.png +0 -0
  69. data/app/assets/stylesheets/redmond/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  70. data/app/assets/stylesheets/redmond/images/ui-bg_gloss-wave_55_5c9ccc_500x100.png +0 -0
  71. data/app/assets/stylesheets/redmond/images/ui-bg_inset-hard_100_f5f8f9_1x100.png +0 -0
  72. data/app/assets/stylesheets/redmond/images/ui-bg_inset-hard_100_fcfdfd_1x100.png +0 -0
  73. data/app/assets/stylesheets/redmond/images/ui-icons_217bc0_256x240.png +0 -0
  74. data/app/assets/stylesheets/redmond/images/ui-icons_2e83ff_256x240.png +0 -0
  75. data/app/assets/stylesheets/redmond/images/ui-icons_469bdd_256x240.png +0 -0
  76. data/app/assets/stylesheets/redmond/images/ui-icons_6da8d5_256x240.png +0 -0
  77. data/app/assets/stylesheets/redmond/images/ui-icons_cd0a0a_256x240.png +0 -0
  78. data/app/assets/stylesheets/redmond/images/ui-icons_d8e7f3_256x240.png +0 -0
  79. data/app/assets/stylesheets/redmond/images/ui-icons_f9bd01_256x240.png +0 -0
  80. data/app/assets/stylesheets/redmond/jquery-ui-1.8.5.custom.css +0 -572
  81. data/app/controllers/downloads_controller.rb +0 -20
  82. data/app/controllers/hydra/application_controller.rb +0 -5
  83. data/app/controllers/hydra/assets_controller.rb +0 -12
  84. data/app/controllers/hydra/contributors_controller.rb +0 -115
  85. data/app/controllers/hydra/file_assets_controller.rb +0 -3
  86. data/app/controllers/hydra/permissions_controller.rb +0 -117
  87. data/app/controllers/user_sessions_controller.rb +0 -13
  88. data/app/helpers/application_helper.rb +0 -3
  89. data/app/helpers/article_metadata_helper.rb +0 -4
  90. data/app/helpers/blacklight_helper.rb +0 -4
  91. data/app/helpers/downloads_helper.rb +0 -4
  92. data/app/helpers/facets_helper.rb +0 -4
  93. data/app/helpers/generic_content_objects_helper.rb +0 -4
  94. data/app/helpers/hydra/application_helper_behavior.rb +0 -8
  95. data/app/helpers/hydra/article_metadata_helper_behavior.rb +0 -95
  96. data/app/helpers/hydra/blacklight_helper_behavior.rb +0 -128
  97. data/app/helpers/hydra/downloads_helper_behavior.rb +0 -24
  98. data/app/helpers/hydra/facets_helper_behavior.rb +0 -34
  99. data/app/helpers/hydra/generic_content_objects_helper_behavior.rb +0 -17
  100. data/app/helpers/hydra/hydra_assets_helper_behavior.rb +0 -76
  101. data/app/helpers/hydra/hydra_fedora_metadata_helper_behavior.rb +0 -379
  102. data/app/helpers/hydra/hydra_helper_behavior.rb +0 -195
  103. data/app/helpers/hydra/hydra_uploader_helper_behavior.rb +0 -23
  104. data/app/helpers/hydra/inline_editable_metadata_helper_behavior.rb +0 -21
  105. data/app/helpers/hydra/javascript_includes_helper_behavior.rb +0 -94
  106. data/app/helpers/hydra/personalization_helper_behavior.rb +0 -49
  107. data/app/helpers/hydra/release_process_helper_behavior.rb +0 -37
  108. data/app/helpers/hydra_assets_helper.rb +0 -4
  109. data/app/helpers/hydra_fedora_metadata_helper.rb +0 -4
  110. data/app/helpers/hydra_helper.rb +0 -4
  111. data/app/helpers/hydra_uploader_helper.rb +0 -4
  112. data/app/helpers/inline_editable_metadata_helper.rb +0 -4
  113. data/app/helpers/javascript_includes_helper.rb +0 -4
  114. data/app/helpers/personalization_helper.rb +0 -4
  115. data/app/helpers/release_process_helper.rb +0 -4
  116. data/app/models/file_asset.rb +0 -5
  117. data/app/models/generic_content.rb +0 -26
  118. data/app/models/generic_image.rb +0 -67
  119. data/app/models/hydra/datastream/properties.rb +0 -24
  120. data/app/models/mods_asset.rb +0 -24
  121. data/app/models/superuser.rb +0 -14
  122. data/app/models/user_attribute.rb +0 -37
  123. data/app/models/uses_default_partials.rb +0 -23
  124. data/app/views/_add_assets_links.html.erb +0 -14
  125. data/app/views/_flash_msg.html.erb +0 -5
  126. data/app/views/_user_util_links.html.erb +0 -31
  127. data/app/views/catalog/_citation.html.erb +0 -11
  128. data/app/views/catalog/_constraints_element.html.erb +0 -34
  129. data/app/views/catalog/_delete_partials/_default.html.erb +0 -22
  130. data/app/views/catalog/_document_list.html.erb +0 -11
  131. data/app/views/catalog/_edit_partials/_default.html.erb +0 -57
  132. data/app/views/catalog/_edit_partials/_default_details.html.erb +0 -13
  133. data/app/views/catalog/_facets.html.erb +0 -37
  134. data/app/views/catalog/_home.html.erb +0 -6
  135. data/app/views/catalog/_home_text.html.erb +0 -4
  136. data/app/views/catalog/_index_partials/_default.html.erb +0 -20
  137. data/app/views/catalog/_index_partials/_default_details.html.erb +0 -14
  138. data/app/views/catalog/_index_partials/_default_group.html.erb +0 -15
  139. data/app/views/catalog/_opensearch_response_metadata.html.erb +0 -2
  140. data/app/views/catalog/_show_partials/_default.html.erb +0 -21
  141. data/app/views/catalog/_show_partials/_default_details.html.erb +0 -15
  142. data/app/views/catalog/_show_partials/_facets.html.erb +0 -52
  143. data/app/views/catalog/_sms_form.html.erb +0 -21
  144. data/app/views/catalog/_sort_and_per_page.html.erb +0 -23
  145. data/app/views/catalog/_uva_tabs.html.erb +0 -10
  146. data/app/views/catalog/about.html.erb +0 -0
  147. data/app/views/catalog/show.html.erb +0 -40
  148. data/app/views/contributors/_add_contributor_split_button.html.erb +0 -10
  149. data/app/views/contributors/_edit_conference.html.erb +0 -29
  150. data/app/views/contributors/_edit_organization.html.erb +0 -29
  151. data/app/views/contributors/_edit_person.html.erb +0 -39
  152. data/app/views/contributors/_index.html.erb +0 -11
  153. data/app/views/contributors/_new.html.erb +0 -10
  154. data/app/views/contributors/_show_conference.html.erb +0 -12
  155. data/app/views/contributors/_show_organization.html.erb +0 -21
  156. data/app/views/contributors/_show_person.html.erb +0 -17
  157. data/app/views/contributors/new.html.erb +0 -14
  158. data/app/views/downloads/index.html.erb +0 -1
  159. data/app/views/generic_content_objects/_contributor_form.html.erb +0 -11
  160. data/app/views/generic_content_objects/_description_form.html.erb +0 -7
  161. data/app/views/generic_content_objects/_edit_description.html.erb +0 -23
  162. data/app/views/generic_content_objects/_new.html.erb +0 -0
  163. data/app/views/generic_content_objects/_show_description.html.erb +0 -41
  164. data/app/views/generic_contents/_edit.html.erb +0 -10
  165. data/app/views/generic_contents/_index.html.erb +0 -21
  166. data/app/views/generic_contents/_show.html.erb +0 -6
  167. data/app/views/generic_contents/_show_content.html.erb +0 -7
  168. data/app/views/generic_images/_edit.html.erb +0 -36
  169. data/app/views/generic_images/_index.html.erb +0 -24
  170. data/app/views/generic_images/_show.html.erb +0 -13
  171. data/app/views/generic_images/_show_all.html.erb +0 -14
  172. data/app/views/generic_images/_show_content.html.erb +0 -7
  173. data/app/views/hydra/file_assets/_asset_saved_flash.html.erb +0 -2
  174. data/app/views/hydra/file_assets/_deletable_result.html.erb +0 -5
  175. data/app/views/hydra/file_assets/_file_assets_form.html.erb +0 -11
  176. data/app/views/hydra/file_assets/_index.html.erb +0 -29
  177. data/app/views/hydra/file_assets/_new.html.erb +0 -6
  178. data/app/views/hydra/file_assets/_result.html.erb +0 -11
  179. data/app/views/hydra/file_assets/index.html.erb +0 -5
  180. data/app/views/hydra/permissions/_edit_person_permissions.html.erb +0 -30
  181. data/app/views/hydra/permissions/_index.html.erb +0 -46
  182. data/app/views/hydra/permissions/_new.html.erb +0 -14
  183. data/app/views/hydra/permissions/_permissions_form.html.erb +0 -23
  184. data/app/views/hydra/permissions/index.html.erb +0 -1
  185. data/app/views/hydra/permissions/new.html.erb +0 -1
  186. data/app/views/layouts/hydra-head.html.erb +0 -47
  187. data/app/views/mods_assets/_additional_info_form.html.erb +0 -44
  188. data/app/views/mods_assets/_contributor_form.html.erb +0 -14
  189. data/app/views/mods_assets/_edit.html.erb +0 -10
  190. data/app/views/mods_assets/_edit_description.html.erb +0 -73
  191. data/app/views/mods_assets/_edit_journal.html.erb +0 -57
  192. data/app/views/mods_assets/_index.html.erb +0 -1
  193. data/app/views/mods_assets/_index_list.html.erb +0 -37
  194. data/app/views/mods_assets/_index_table.html.erb +0 -7
  195. data/app/views/mods_assets/_progress_box.html.erb +0 -82
  196. data/app/views/mods_assets/_publication_form.html.erb +0 -13
  197. data/app/views/mods_assets/_show.html.erb +0 -39
  198. data/app/views/mods_assets/_show_additional_info.html.erb +0 -17
  199. data/app/views/mods_assets/_show_contributors.html.erb +0 -7
  200. data/app/views/mods_assets/_show_description.html.erb +0 -35
  201. data/app/views/mods_assets/_show_file_assets.html.erb +0 -22
  202. data/app/views/mods_assets/_show_journal.html.erb +0 -42
  203. data/app/views/mods_assets/_show_permissions.html.erb +0 -15
  204. data/app/views/mods_assets/_show_publication.html.erb +0 -8
  205. data/app/views/shared/_delete_asset_confirmation.html.erb +0 -17
  206. data/app/views/user_sessions/_login_form.html.erb +0 -10
  207. data/app/views/user_sessions/logged_out.html.erb +0 -1
  208. data/config/fedora.yml +0 -15
  209. data/config/jetty.yml +0 -6
  210. data/config/locales/hydra.en.yml +0 -7
  211. data/config/role_map_cucumber.yml +0 -10
  212. data/config/role_map_development.yml +0 -12
  213. data/config/role_map_production.yml +0 -2
  214. data/config/role_map_test.yml +0 -14
  215. data/config/routes.rb +0 -12
  216. data/config/solr.yml +0 -9
  217. data/config/solr_mappings.yml +0 -22
  218. data/db/migrate/20101105214243_add_user_attributes_table.rb +0 -15
  219. data/db/migrate/20101108192527_create_superusers.rb +0 -12
  220. data/fedora_conf/conf/development/fedora.fcfg +0 -1021
  221. data/fedora_conf/conf/test/fedora.fcfg +0 -1021
  222. data/hydra-head.gemspec +0 -41
  223. data/init.rb +0 -4
  224. data/install.rb +0 -1
  225. data/lib/application_helper.rb +0 -3
  226. data/lib/generators/hydra/assets_generator.rb +0 -50
  227. data/lib/generators/hydra/cucumber_support_generator.rb +0 -29
  228. data/lib/generators/hydra/head_generator.rb +0 -165
  229. data/lib/generators/hydra/hyhead_fixtures_generator.rb +0 -27
  230. data/lib/generators/hydra/templates/catalog_controller.rb +0 -162
  231. data/lib/generators/hydra/templates/config/fedora.yml +0 -14
  232. data/lib/generators/hydra/templates/config/initializers/action_dispatch_http_upload_monkey_patch.rb +0 -12
  233. data/lib/generators/hydra/templates/config/initializers/hydra_config.rb +0 -44
  234. data/lib/generators/hydra/templates/config/role_map_cucumber.yml +0 -10
  235. data/lib/generators/hydra/templates/config/role_map_development.yml +0 -12
  236. data/lib/generators/hydra/templates/config/role_map_production.yml +0 -2
  237. data/lib/generators/hydra/templates/config/role_map_test.yml +0 -15
  238. data/lib/generators/hydra/templates/config/solr.yml +0 -10
  239. data/lib/generators/hydra/templates/config/solr_mappings.yml +0 -22
  240. data/lib/generators/hydra/templates/fedora_conf/conf/development/fedora.fcfg +0 -1021
  241. data/lib/generators/hydra/templates/fedora_conf/conf/test/fedora.fcfg +0 -1021
  242. data/lib/generators/hydra/templates/migrations/create_superusers.rb +0 -12
  243. data/lib/generators/hydra/templates/solr_conf/conf/schema.xml +0 -124
  244. data/lib/generators/hydra/templates/solr_conf/conf/solrconfig.xml +0 -394
  245. data/lib/generators/hydra/templates/solr_conf/solr.xml +0 -35
  246. data/lib/hydra-head.rb +0 -29
  247. data/lib/hydra-head/controller.rb +0 -29
  248. data/lib/hydra-head/engine.rb +0 -29
  249. data/lib/hydra-head/routes.rb +0 -90
  250. data/lib/hydra-head/version.rb +0 -4
  251. data/lib/hydra.rb +0 -52
  252. data/lib/hydra/assets.rb +0 -7
  253. data/lib/hydra/assets_controller_helper.rb +0 -122
  254. data/lib/hydra/catalog.rb +0 -11
  255. data/lib/hydra/controller.rb +0 -26
  256. data/lib/hydra/controller/assets_controller_behavior.rb +0 -143
  257. data/lib/hydra/controller/catalog_controller_behavior.rb +0 -56
  258. data/lib/hydra/controller/controller_behavior.rb +0 -59
  259. data/lib/hydra/controller/file_assets_behavior.rb +0 -144
  260. data/lib/hydra/controller/repository_controller_behavior.rb +0 -119
  261. data/lib/hydra/controller/upload_behavior.rb +0 -139
  262. data/lib/hydra/file_assets.rb +0 -11
  263. data/lib/hydra/file_assets_helper.rb +0 -12
  264. data/lib/hydra/generic_content.rb +0 -130
  265. data/lib/hydra/generic_image.rb +0 -112
  266. data/lib/hydra/generic_user_attributes.rb +0 -41
  267. data/lib/hydra/global_configurable.rb +0 -46
  268. data/lib/hydra/model_methods.rb +0 -104
  269. data/lib/hydra/model_mixins.rb +0 -8
  270. data/lib/hydra/model_mixins/common_metadata.rb +0 -25
  271. data/lib/hydra/model_mixins/solr_document_extension.rb +0 -24
  272. data/lib/hydra/models/file_asset.rb +0 -78
  273. data/lib/hydra/repository_controller.rb +0 -28
  274. data/lib/hydra/rights_metadata.rb +0 -194
  275. data/lib/hydra/solr.rb +0 -9
  276. data/lib/hydra/submission_workflow.rb +0 -138
  277. data/lib/hydra/superuser_attributes.rb +0 -19
  278. data/lib/hydra/ui.rb +0 -6
  279. data/lib/hydra/ui/controller.rb +0 -46
  280. data/lib/hydra/workflow.rb +0 -5
  281. data/lib/hydra/workflow/controller.rb +0 -3
  282. data/lib/mediashelf/active_fedora_helper.rb +0 -73
  283. data/lib/prev_next_links.rb +0 -33
  284. data/lib/railties/active-fedora.rake +0 -1
  285. data/lib/railties/hydra-fixtures.rake +0 -50
  286. data/lib/railties/hydra_jetty.rake +0 -53
  287. data/lib/user_attributes_loader.rb +0 -26
  288. data/solr/conf/schema.xml +0 -116
  289. data/solr/conf/solrconfig.xml +0 -311
  290. data/solr/solr.xml +0 -35
  291. data/solr_conf/conf/schema.xml +0 -124
  292. data/solr_conf/conf/solrconfig.xml +0 -394
  293. data/solr_conf/solr.xml +0 -35
  294. data/tasks/active-fedora.rake +0 -1
  295. data/tasks/hydra-head-fixtures.rake +0 -58
  296. data/tasks/hydra-head.rake +0 -209
  297. data/tasks/hydra_jetty.rake +0 -53
  298. data/tasks/hyhead_rspec.rake +0 -57
  299. data/tasks/replicator.rake +0 -27
  300. data/tasks/solrizer-fedora.rake +0 -53
  301. data/tasks/solrizer.rake +0 -13
  302. data/test_support/etc/Gemfile +0 -46
  303. data/test_support/etc/common_metadata_asset.rb +0 -18
  304. data/test_support/features/absent_model_edit.feature +0 -27
  305. data/test_support/features/absent_model_search_result.feature +0 -18
  306. data/test_support/features/absent_model_show.feature +0 -27
  307. data/test_support/features/button_add_assets.feature +0 -22
  308. data/test_support/features/button_add_generic_content.feature +0 -11
  309. data/test_support/features/button_add_image.feature +0 -11
  310. data/test_support/features/button_add_mods_asset.feature +0 -11
  311. data/test_support/features/button_delete_asset.feature +0 -13
  312. data/test_support/features/contributor_add.feature +0 -44
  313. data/test_support/features/default_partials_edit.feature +0 -27
  314. data/test_support/features/default_partials_search_result.feature +0 -22
  315. data/test_support/features/default_partials_show.feature +0 -24
  316. data/test_support/features/file_upload.feature +0 -80
  317. data/test_support/features/generic_content_create.feature +0 -7
  318. data/test_support/features/generic_content_edit.feature +0 -21
  319. data/test_support/features/generic_content_search_result.feature +0 -22
  320. data/test_support/features/generic_content_show.feature +0 -20
  321. data/test_support/features/generic_image_create.feature +0 -7
  322. data/test_support/features/generic_image_edit.feature +0 -21
  323. data/test_support/features/generic_image_search_result.feature +0 -22
  324. data/test_support/features/generic_image_show.feature +0 -20
  325. data/test_support/features/home_page.feature +0 -9
  326. data/test_support/features/html_validity.feature +0 -43
  327. data/test_support/features/mods_asset_contributors_edit.feature +0 -88
  328. data/test_support/features/mods_asset_create.feature +0 -17
  329. data/test_support/features/mods_asset_edit.feature +0 -65
  330. data/test_support/features/mods_asset_edit_without_permission.feature +0 -15
  331. data/test_support/features/mods_asset_search_result.feature +0 -24
  332. data/test_support/features/mods_asset_show.feature +0 -90
  333. data/test_support/features/nonexistent_object_show.feature +0 -9
  334. data/test_support/features/permissions_add.feature +0 -16
  335. data/test_support/features/permissions_edit.feature +0 -65
  336. data/test_support/features/step_definitions/catalog_index_steps.rb +0 -14
  337. data/test_support/features/step_definitions/create_asset_steps.rb +0 -3
  338. data/test_support/features/step_definitions/edit_metadata_steps.rb +0 -72
  339. data/test_support/features/step_definitions/file_list_steps.rb +0 -36
  340. data/test_support/features/step_definitions/html_validity_steps.rb +0 -64
  341. data/test_support/features/step_definitions/hydra_metadata_steps.rb +0 -3
  342. data/test_support/features/step_definitions/hydra_steps.rb +0 -8
  343. data/test_support/features/step_definitions/inline_editable_edit_steps.rb +0 -77
  344. data/test_support/features/step_definitions/search_steps.rb +0 -88
  345. data/test_support/features/step_definitions/searching_steps.rb +0 -22
  346. data/test_support/features/step_definitions/show_document_steps.rb +0 -89
  347. data/test_support/features/step_definitions/user_steps.rb +0 -42
  348. data/test_support/features/step_definitions/web_steps.rb +0 -223
  349. data/test_support/features/support/env.rb +0 -57
  350. data/test_support/features/support/paths.rb +0 -85
  351. data/test_support/features/switch_users.feature +0 -14
  352. data/test_support/features/view_catalog_index.feature +0 -18
  353. data/test_support/fixtures/empty_file.txt +0 -0
  354. data/test_support/fixtures/hydra_test_default_partials.foxml.xml +0 -80
  355. data/test_support/fixtures/hydra_test_generic_content.foxml.xml +0 -138
  356. data/test_support/fixtures/hydra_test_generic_image.foxml.xml +0 -395
  357. data/test_support/fixtures/hydra_test_no_model.foxml.xml +0 -79
  358. data/test_support/fixtures/hydrangea_fixture_archivist_only_mods_article.foxml.xml +0 -1212
  359. data/test_support/fixtures/hydrangea_fixture_file_asset1.foxml.xml +0 -4946
  360. data/test_support/fixtures/hydrangea_fixture_mods_article1.foxml.xml +0 -234
  361. data/test_support/fixtures/hydrangea_fixture_mods_article2.foxml.xml +0 -177
  362. data/test_support/fixtures/hydrangea_fixture_mods_article3.foxml.xml +0 -170
  363. data/test_support/fixtures/hydrangea_fixture_mods_dataset1.foxml.xml +0 -187
  364. data/test_support/fixtures/hydrangea_fixture_uploaded_svg1.foxml.xml +0 -676
  365. data/test_support/fixtures/hydrus_admin_class1.foxml.xml +0 -176
  366. data/test_support/fixtures/image.jp2 +0 -0
  367. data/test_support/fixtures/libra-oa_1.foxml.xml +0 -2324
  368. data/test_support/fixtures/libra-oa_2.foxml.xml +0 -2422
  369. data/test_support/fixtures/libra-oa_7.foxml.xml +0 -1735
  370. data/test_support/fixtures/small_file.txt +0 -1
  371. data/test_support/spec/controllers/catalog_controller_spec.rb +0 -138
  372. data/test_support/spec/controllers/catalog_controller_viewing_context_spec.rb +0 -67
  373. data/test_support/spec/controllers/catalog_valid_html_spec.rb +0 -123
  374. data/test_support/spec/controllers/contributors_controller_spec.rb +0 -67
  375. data/test_support/spec/controllers/file_assets_controller_spec.rb +0 -194
  376. data/test_support/spec/controllers/hydra-assets_controller_spec.rb +0 -151
  377. data/test_support/spec/controllers/hydra_controller_spec.rb +0 -43
  378. data/test_support/spec/controllers/hydra_ui_controller_spec.rb +0 -21
  379. data/test_support/spec/controllers/permissions_controller_spec.rb +0 -39
  380. data/test_support/spec/controllers/user_sessions_controller_spec.rb +0 -35
  381. data/test_support/spec/factories.rb +0 -11
  382. data/test_support/spec/helpers/access_controls_enforcement_spec.rb +0 -119
  383. data/test_support/spec/helpers/access_controls_evaluation_spec.rb +0 -26
  384. data/test_support/spec/helpers/assets_controller_helper_spec.rb +0 -63
  385. data/test_support/spec/helpers/blacklight_helper_spec.rb +0 -60
  386. data/test_support/spec/helpers/file_assets_helper_spec.rb +0 -116
  387. data/test_support/spec/helpers/generic_content_objects_helper_spec.rb +0 -17
  388. data/test_support/spec/helpers/hydra-repository_controller_spec.rb +0 -54
  389. data/test_support/spec/helpers/hydra_assets_helper_spec.rb +0 -143
  390. data/test_support/spec/helpers/hydra_fedora_metadata_helper_spec.rb +0 -255
  391. data/test_support/spec/helpers/hydra_helper_spec.rb +0 -105
  392. data/test_support/spec/helpers/hydra_model_methods_spec.rb +0 -88
  393. data/test_support/spec/helpers/hydra_uploader_helper_spec.rb +0 -26
  394. data/test_support/spec/helpers/javascript_includes_helper_spec.rb +0 -51
  395. data/test_support/spec/integration/file_asset_spec.rb +0 -68
  396. data/test_support/spec/lib/catalog_spec.rb +0 -23
  397. data/test_support/spec/lib/global_configurable_spec.rb +0 -98
  398. data/test_support/spec/lib/hydra_submission_workflow_spec.rb +0 -141
  399. data/test_support/spec/lib/model_methods_spec.rb +0 -29
  400. data/test_support/spec/models/file_asset_spec.rb +0 -25
  401. data/test_support/spec/models/generic_content_spec.rb +0 -39
  402. data/test_support/spec/models/generic_image_spec.rb +0 -75
  403. data/test_support/spec/models/mods_asset_spec.rb +0 -20
  404. data/test_support/spec/models/solr_document_spec.rb +0 -17
  405. data/test_support/spec/models/user_spec.rb +0 -94
  406. data/test_support/spec/rcov.opts +0 -3
  407. data/test_support/spec/spec.opts +0 -4
  408. data/test_support/spec/spec_helper.rb +0 -63
  409. data/test_support/spec/support/matchers/helper_matcher.rb +0 -14
  410. data/test_support/spec/support/matchers/solr_matchers.rb +0 -60
  411. data/test_support/spec/unit/hydra-head-engine_spec.rb +0 -8
  412. data/test_support/spec/unit/hydra-head_spec.rb +0 -8
@@ -1,35 +0,0 @@
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
- All (relative) paths are relative to the installation path
21
-
22
- persistent: Save changes made via the API to this file
23
- sharedLib: path to a lib directory that will be shared across all cores
24
- -->
25
- <solr persistent="false">
26
-
27
- <!--
28
- adminPath: RequestHandler path to manage cores.
29
- If 'null' (or absent), cores will not be manageable via REST
30
- -->
31
- <cores adminPath="/admin/cores">
32
- <core name="core0" instanceDir="core0" />
33
- <core name="core1" instanceDir="core1" />
34
- </cores>
35
- </solr>
@@ -1,124 +0,0 @@
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="*_s" dest="text" />
123
-
124
- </schema>
@@ -1,394 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" ?>
2
- <config>
3
- <!-- For complete comments from the Solr project example solrconfig.xml:
4
- http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/example/solr/conf/solrconfig.xml
5
- See also:
6
- http://wiki.apache.org/solr/SolrConfigXml
7
- -->
8
- <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
9
-
10
- <indexDefaults>
11
- <useCompoundFile>false</useCompoundFile>
12
- <mergeFactor>10</mergeFactor>
13
- <ramBufferSizeMB>32</ramBufferSizeMB>
14
- <maxMergeDocs>2147483647</maxMergeDocs>
15
- <maxFieldLength>10000</maxFieldLength>
16
- <writeLockTimeout>1000</writeLockTimeout>
17
- <commitLockTimeout>10000</commitLockTimeout>
18
- <lockType>single</lockType>
19
- </indexDefaults>
20
-
21
- <mainIndex>
22
- <useCompoundFile>false</useCompoundFile>
23
- <ramBufferSizeMB>32</ramBufferSizeMB>
24
- <mergeFactor>10</mergeFactor>
25
- <maxMergeDocs>2147483647</maxMergeDocs>
26
- <maxFieldLength>10000</maxFieldLength>
27
- <unlockOnStartup>false</unlockOnStartup>
28
- </mainIndex>
29
-
30
- <jmx />
31
-
32
- <!-- the default high-performance update handler -->
33
- <updateHandler class="solr.DirectUpdateHandler2">
34
- </updateHandler>
35
-
36
-
37
- <query>
38
- <maxBooleanClauses>1024</maxBooleanClauses>
39
- <filterCache class="solr.LRUCache"
40
- size="512"
41
- initialSize="512"
42
- autowarmCount="128"/>
43
- <queryResultCache class="solr.LRUCache"
44
- size="512"
45
- initialSize="512"
46
- autowarmCount="32"/>
47
- <documentCache class="solr.LRUCache"
48
- size="512"
49
- initialSize="512"
50
- autowarmCount="0"/>
51
- <enableLazyFieldLoading>true</enableLazyFieldLoading>
52
- <queryResultWindowSize>50</queryResultWindowSize>
53
- <queryResultMaxDocsCached>200</queryResultMaxDocsCached>
54
- <HashDocSet maxSize="3000" loadFactor="0.75"/>
55
-
56
- <listener event="newSearcher" class="solr.QuerySenderListener">
57
- <arr name="queries">
58
- <lst> <str name="q">hydrus</str></lst>
59
- </arr>
60
- </listener>
61
-
62
- <listener event="firstSearcher" class="solr.QuerySenderListener">
63
- <arr name="queries">
64
- <lst> <str name="q">hydrus</str></lst>
65
- </arr>
66
- </listener>
67
-
68
- <useColdSearcher>false</useColdSearcher>
69
- <maxWarmingSearchers>2</maxWarmingSearchers>
70
- </query>
71
-
72
- <requestDispatcher handleSelect="true" >
73
- <requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
74
- <httpCaching lastModifiedFrom="openTime"
75
- etagSeed="Solr">
76
- </httpCaching>
77
- </requestDispatcher>
78
-
79
- <requestHandler name="standard" class="solr.SearchHandler">
80
- <lst name="defaults">
81
- <str name="echoParams">explicit</str>
82
- </lst>
83
- </requestHandler>
84
-
85
- <!-- Searching ("All Fields") -->
86
- <requestHandler name="search" class="solr.SearchHandler" default="true">
87
- <lst name="defaults">
88
- <str name="defType">dismax</str>
89
- <str name="echoParams">explicit</str>
90
- <str name="q.alt">*:*</str>
91
- <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
92
- <!-- this qf and pf are used by default, if not otherwise specified by
93
- client. The default blacklight_config will use these for the
94
- "keywords" search. See the author_qf/author_pf, title_qf, etc
95
- below, which the default blacklight_config will specify for
96
- those searches. You may also be interested in:
97
- http://wiki.apache.org/solr/LocalParams
98
- -->
99
- <str name="qf">
100
- id
101
- title_t^25000
102
- text
103
- active_fedora_model_s
104
- object_type_facet
105
- </str>
106
- <str name="pf">
107
- id
108
- title_t^250000
109
- text^10
110
- active_fedora_model_s
111
- object_type_facet
112
- </str>
113
- <str name="author_qf">
114
- author_unstem_search^200
115
- author_addl_unstem_search^50
116
- author_t^20
117
- author_addl_t
118
- </str>
119
- <str name="author_pf">
120
- author_unstem_search^2000
121
- author_addl_unstem_search^500
122
- author_t^200
123
- author_addl_t^10
124
- </str>
125
- <str name="title_qf">
126
- title_unstem_search^50000
127
- subtitle_unstem_search^25000
128
- title_addl_unstem_search^10000
129
- title_t^5000
130
- subtitle_t^2500
131
- title_addl_t^100
132
- title_added_entry_unstem_search^50
133
- title_added_entry_t^10
134
- title_series_unstem_search^5
135
- title_series_t
136
- </str>
137
- <str name="title_pf">
138
- title_unstem_search^500000
139
- subtitle_unstem_search^250000
140
- title_addl_unstem_search^100000
141
- title_t^50000
142
- subtitle_t^25000
143
- title_addl_t^1000
144
- title_added_entry_unstem_search^500
145
- title_added_entry_t^100
146
- title_series_t^50
147
- title_series_unstem_search^10
148
- </str>
149
- <str name="subject_qf">
150
- subject_topic_unstem_search^200
151
- subject_unstem_search^125
152
- subject_topic_facet^100
153
- subject_t^50
154
- subject_addl_unstem_search^10
155
- subject_addl_t
156
- </str>
157
- <str name="subject_pf">
158
- subject_topic_unstem_search^2000
159
- subject_unstem_search^1250
160
- subject_t^1000
161
- subject_topic_facet^500
162
- subject_addl_unstem_search^100
163
- subject_addl_t^10
164
- </str>
165
-
166
-
167
- <int name="ps">3</int>
168
- <float name="tie">0.01</float>
169
-
170
- <!-- NOT using marc_display because it is large and will slow things down for search results -->
171
- <str name="fl">
172
- *,score
173
- </str>
174
-
175
- <str name="facet">true</str>
176
- <str name="facet.mincount">1</str>
177
- <str name="facet.limit">10</str>
178
- <str name="facet.field">format</str>
179
- <str name="facet.field">lc_1letter_facet</str>
180
- <str name="facet.field">lc_alpha_facet</str>
181
- <str name="facet.field">lc_b4cutter_facet</str>
182
- <str name="facet.field">language_facet</str>
183
- <str name="facet.field">pub_date</str>
184
- <str name="facet.field">subject_era_facet</str>
185
- <str name="facet.field">subject_geo_facet</str>
186
- <str name="facet.field">subject_topic_facet</str>
187
-
188
- <str name="spellcheck">true</str>
189
- <str name="spellcheck.dictionary">default</str>
190
- <str name="spellcheck.onlyMorePopular">true</str>
191
- <str name="spellcheck.extendedResults">true</str>
192
- <str name="spellcheck.collate">false</str>
193
- <str name="spellcheck.count">5</str>
194
- </lst>
195
- <arr name="last-components">
196
- <str>spellcheck</str>
197
- </arr>
198
- </requestHandler>
199
-
200
- <requestHandler name="public_search" class="solr.SearchHandler" >
201
- <lst name="defaults">
202
- <!-- Making defType lucene to exclude file assets -->
203
- <str name="defType">lucene</str>
204
- <!-- lucene params -->
205
- <str name="df">has_model_s</str>
206
- <str name="q.op">AND</str>
207
- <!-- dismax params -->
208
- <str name="mm"> 2&lt;-1 5&lt;-2 6&lt;90% </str>
209
- <str name="q.alt">*:*</str>
210
- <str name="qf">id^0.8 id_t^0.8 format text^0.3 journal_issn_t</str>
211
- <str name="pf">id^0.9 id_t^0.9 text^0.5 journal_issn_t</str>
212
- <str name="qf_dismax">id^0.8 id_t^0.8 format text^0.3</str>
213
- <str name="pf_dismax">id^0.9 id_t^0.9 text^0.5</str>
214
- <int name="ps">100</int>
215
- <float name="tie">0.01</float>
216
- <!-- general -->
217
- <str name="facet">on</str>
218
- <str name="facet.mincount">1</str>
219
- <str name="echoParams">explicit</str>
220
- <str name="fl">
221
- *,score
222
- </str>
223
- </lst>
224
- </requestHandler>
225
-
226
- <requestHandler name="fulltext" class="solr.SearchHandler" >
227
- <lst name="defaults">
228
- <str name="defType">dismax</str>
229
- <str name="facet">on</str>
230
- <str name="facet.mincount">1</str>
231
- <str name="echoParams">explicit</str>
232
- <float name="tie">0.01</float>
233
- <str name="qf">id^0.8 id_t^0.8 format text^0.3</str>
234
- <str name="pf">id^0.9 id_t^0.9 text^0.5</str>
235
- <str name="fl">
236
- id,text,title_t,date_t,year_facet,month_facet,medium_t,series_facet,box_facet,folder_facet
237
- </str>
238
- <str name="mm"> 2&lt;-1 5&lt;-2 6&lt;90% </str>
239
- <int name="ps">100</int>
240
- <str name="q.alt">*:*</str>
241
- </lst>
242
- </requestHandler>
243
-
244
- <!--
245
- Hydra Permissions request Handler
246
- For requests to get just the permissions related info about a document
247
- -->
248
- <requestHandler name="permissions" class="solr.SearchHandler" >
249
- <lst name="defaults">
250
- <str name="facet">off</str>
251
- <str name="echoParams">all</str>
252
- <str name="rows">1</str>
253
- <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
254
- <str name="fl">
255
- id,access_t,
256
- discover_access_group_t,discover_access_person_t,
257
- read_access_group_t,read_access_person_t,
258
- edit_access_group_t,edit_access_person_t,
259
- depositor_t,
260
- embargo_release_date_dt
261
- </str>
262
- </lst>
263
- </requestHandler>
264
-
265
- <!-- for requests to get a single document; use id=666 instead of q=id:666 -->
266
- <requestHandler name="document" class="solr.SearchHandler" >
267
- <lst name="defaults">
268
- <str name="echoParams">all</str>
269
- <str name="fl">*</str>
270
- <str name="rows">1</str>
271
- <str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
272
-
273
- <!-- facets on for a single document response??? -->
274
- <str name="facet">on</str>
275
- <str name="facet.mincount">1</str>
276
-
277
- <str name="facet.field">collection_facet</str>
278
- <str name="facet.field">technology_facet</str>
279
- <str name="facet.field">person_facet</str>
280
- <!-- <str name="facet.field">title_t</str> -->
281
- <str name="facet.field">city_facet</str>
282
- <str name="facet.field">organization_facet</str>
283
- <str name="facet.field">company_facet</str>
284
- <str name="facet.field">year_facet</str>
285
- <str name="facet.field">state_facet</str>
286
- <str name="facet.field">series_facet</str>
287
- <str name="facet.field">box_facet</str>
288
- <str name="facet.field">folder_facet</str>
289
- <str name="facet.field">donor_tags_facet</str>
290
- <str name="facet.field">archivist_tags_facet</str>
291
-
292
- </lst>
293
- </requestHandler>
294
-
295
- <!-- The spell check component can return a list of alternative spelling
296
- suggestions. -->
297
- <searchComponent name="spellcheck" class="solr.SpellCheckComponent">
298
-
299
- <str name="queryAnalyzerFieldType">textSpell</str>
300
-
301
- <lst name="spellchecker">
302
- <str name="name">default</str>
303
- <str name="field">spell</str>
304
- <str name="spellcheckIndexDir">./spellchecker1</str>
305
-
306
- </lst>
307
- <lst name="spellchecker">
308
- <str name="name">jarowinkler</str>
309
- <str name="field">spell</str>
310
- <!-- Use a different Distance Measure -->
311
- <str name="distanceMeasure">org.apache.lucene.search.spell.JaroWinklerDistance</str>
312
- <str name="spellcheckIndexDir">./spellchecker2</str>
313
-
314
- </lst>
315
-
316
- <lst name="spellchecker">
317
- <str name="classname">solr.FileBasedSpellChecker</str>
318
- <str name="name">file</str>
319
- <str name="sourceLocation">spellings.txt</str>
320
- <str name="characterEncoding">UTF-8</str>
321
- <str name="spellcheckIndexDir">./spellcheckerFile</str>
322
- </lst>
323
- </searchComponent>
324
-
325
- <!-- a request handler utilizing the spellcheck component -->
326
- <requestHandler name="/spellCheckCompRH" class="solr.SearchHandler">
327
- <lst name="defaults">
328
- <!-- omp = Only More Popular -->
329
- <str name="spellcheck.onlyMorePopular">false</str>
330
- <!-- exr = Extended Results -->
331
- <str name="spellcheck.extendedResults">false</str>
332
- <!-- The number of suggestions to return -->
333
- <str name="spellcheck.count">1</str>
334
- </lst>
335
- <arr name="last-components">
336
- <str>spellcheck</str>
337
- </arr>
338
- </requestHandler>
339
-
340
- <!-- a search component that enables you to configure the top results for
341
- a given query regardless of the normal lucene scoring.-->
342
- <searchComponent name="elevator" class="solr.QueryElevationComponent" >
343
- <!-- pick a fieldType to analyze queries -->
344
- <str name="queryFieldType">string</str>
345
- <str name="config-file">elevate.xml</str>
346
- </searchComponent>
347
-
348
- <!-- a request handler utilizing the elevator component -->
349
- <requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
350
- <lst name="defaults">
351
- <str name="echoParams">explicit</str>
352
- </lst>
353
- <arr name="last-components">
354
- <str>elevator</str>
355
- </arr>
356
- </requestHandler>
357
-
358
- <requestHandler name="/update" class="solr.XmlUpdateRequestHandler" />
359
- <requestHandler name="/analysis" class="solr.AnalysisRequestHandler" />
360
- <requestHandler name="/update/csv" class="solr.CSVRequestHandler" startup="lazy" />
361
- <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
362
- <requestHandler name="/admin/ping" class="PingRequestHandler">
363
- <lst name="defaults">
364
- <str name="qt">standard</str>
365
- <str name="q">solrpingquery</str>
366
- <str name="echoParams">all</str>
367
- </lst>
368
- </requestHandler>
369
- <requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
370
- <lst name="defaults">
371
- <str name="echoParams">explicit</str> <!-- for all params (including the default etc) use: 'all' -->
372
- <str name="echoHandler">true</str>
373
- </lst>
374
- </requestHandler>
375
-
376
- <!--
377
- <queryResponseWriter name="xml" class="org.apache.solr.request.XMLResponseWriter" default="true"/>
378
- <queryResponseWriter name="json" class="org.apache.solr.request.JSONResponseWriter"/>
379
- <queryResponseWriter name="ruby" class="org.apache.solr.request.RubyResponseWriter"/>
380
- -->
381
-
382
- <!-- XSLT response writer transforms the XML output by any xslt file found
383
- in Solr's conf/xslt directory. Changes to xslt files are checked for
384
- every xsltCacheLifetimeSeconds.
385
- -->
386
- <queryResponseWriter name="xslt" class="org.apache.solr.request.XSLTResponseWriter">
387
- <int name="xsltCacheLifetimeSeconds">5</int>
388
- </queryResponseWriter>
389
-
390
- <admin>
391
- <defaultQuery>hydra</defaultQuery>
392
- </admin>
393
-
394
- </config>