iiif_print 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (211) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +2 -0
  3. data/.env +5 -0
  4. data/.fcrepo_wrapper +4 -0
  5. data/.github/release.yml +20 -0
  6. data/.github/workflows/branches.yml +24 -0
  7. data/.github/workflows/build-lint-test-action.yaml +33 -0
  8. data/.github/workflows/release_labels.yml +25 -0
  9. data/.gitignore +52 -0
  10. data/.rubocop.yml +177 -0
  11. data/.solr_wrapper +8 -0
  12. data/.travis.yml +49 -0
  13. data/CONTRIBUTING.md +181 -0
  14. data/Dockerfile +15 -0
  15. data/Gemfile +52 -0
  16. data/LICENSE +203 -0
  17. data/README.md +203 -0
  18. data/Rakefile +38 -0
  19. data/app/actors/iiif_print/actors/file_set_actor_decorator.rb +56 -0
  20. data/app/assets/config/iiif_print_manifest.js +2 -0
  21. data/app/assets/images/iiif_print/.keep +0 -0
  22. data/app/assets/javascripts/iiif_print/autocomplete_fix.js +33 -0
  23. data/app/assets/javascripts/iiif_print/ocr_search.js.erb +6 -0
  24. data/app/assets/javascripts/iiif_print.js +3 -0
  25. data/app/assets/stylesheets/iiif_print/_iiif_print.scss +4 -0
  26. data/app/assets/stylesheets/iiif_print/_issue_search.scss +13 -0
  27. data/app/assets/stylesheets/iiif_print/_issues_calendar.scss +18 -0
  28. data/app/assets/stylesheets/iiif_print/_newspapers_search.scss +38 -0
  29. data/app/assets/stylesheets/iiif_print/_search_results.scss +6 -0
  30. data/app/helpers/hyrax/iiif_helper.rb +22 -0
  31. data/app/helpers/iiif_print/application_helper.rb +5 -0
  32. data/app/helpers/iiif_print_helper.rb +64 -0
  33. data/app/indexers/concerns/iiif_print/child_indexer.rb +34 -0
  34. data/app/indexers/concerns/iiif_print/file_set_indexer.rb +29 -0
  35. data/app/mailers/iiif_print/application_mailer.rb +8 -0
  36. data/app/models/concerns/iiif_print/set_child_flag.rb +29 -0
  37. data/app/models/concerns/iiif_print/solr/document.rb +47 -0
  38. data/app/models/iiif_print/application_record.rb +6 -0
  39. data/app/models/iiif_print/derivative_attachment.rb +8 -0
  40. data/app/models/iiif_print/iiif_search_response_decorator.rb +17 -0
  41. data/app/models/iiif_print/ingest_file_relation.rb +14 -0
  42. data/app/models/iiif_print/pending_relationship.rb +7 -0
  43. data/app/presenters/iiif_print/iiif_manifest_presenter_behavior.rb +10 -0
  44. data/app/presenters/iiif_print/iiif_manifest_presenter_factory_behavior.rb +33 -0
  45. data/app/presenters/iiif_print/work_show_presenter_decorator.rb +29 -0
  46. data/app/renderers/hyrax/renderers/faceted_attribute_renderer_decorator.rb +18 -0
  47. data/app/search_builders/concerns/iiif_print/exclude_models.rb +17 -0
  48. data/app/search_builders/concerns/iiif_print/highlight_search_params.rb +14 -0
  49. data/app/services/iiif_print/manifest_builder_service_behavior.rb +97 -0
  50. data/app/services/iiif_print/pluggable_derivative_service.rb +120 -0
  51. data/app/views/catalog/_snippets_more.html.erb +16 -0
  52. data/app/views/hyrax/base/_representative_media.html.erb +9 -0
  53. data/app/views/hyrax/base/iiif_viewers/_universal_viewer.html.erb +8 -0
  54. data/app/views/hyrax/file_sets/_actions.html.erb +45 -0
  55. data/bin/rails +13 -0
  56. data/config/fcrepo_wrapper_test.yml +5 -0
  57. data/config/initializers/assets.rb +2 -0
  58. data/config/locales/iiif_print.de.yml +148 -0
  59. data/config/locales/iiif_print.en.yml +119 -0
  60. data/config/locales/iiif_print.es.yml +148 -0
  61. data/config/locales/iiif_print.fr.yml +149 -0
  62. data/config/locales/iiif_print.it.yml +142 -0
  63. data/config/locales/iiif_print.pt-BR.yml +148 -0
  64. data/config/locales/iiif_print.zh.yml +142 -0
  65. data/config/solr_wrapper_test.yml +9 -0
  66. data/config/test-fixture/solr-config/_rest_managed.json +3 -0
  67. data/config/test-fixture/solr-config/admin-extra.html +31 -0
  68. data/config/test-fixture/solr-config/elevate.xml +36 -0
  69. data/config/test-fixture/solr-config/mapping-ISOLatin1Accent.txt +246 -0
  70. data/config/test-fixture/solr-config/protwords.txt +21 -0
  71. data/config/test-fixture/solr-config/schema.xml +366 -0
  72. data/config/test-fixture/solr-config/scripts.conf +24 -0
  73. data/config/test-fixture/solr-config/solrconfig.xml +322 -0
  74. data/config/test-fixture/solr-config/spellings.txt +2 -0
  75. data/config/test-fixture/solr-config/stopwords.txt +58 -0
  76. data/config/test-fixture/solr-config/stopwords_en.txt +58 -0
  77. data/config/test-fixture/solr-config/synonyms.txt +31 -0
  78. data/config/test-fixture/solr-config/xslt/example.xsl +132 -0
  79. data/config/test-fixture/solr-config/xslt/example_atom.xsl +67 -0
  80. data/config/test-fixture/solr-config/xslt/example_rss.xsl +66 -0
  81. data/config/test-fixture/solr-config/xslt/luke.xsl +337 -0
  82. data/config/vendor/fits.xml +55 -0
  83. data/config/vendor/imagemagick-6-policy.xml +76 -0
  84. data/db/migrate/20181214181358_create_iiif_print_derivative_attachments.rb +12 -0
  85. data/db/migrate/20190107165909_create_iiif_print_ingest_file_relations.rb +11 -0
  86. data/db/migrate/20230109000000_create_iiif_print_pending_relationships.rb +11 -0
  87. data/docker-compose.yml +129 -0
  88. data/iiif_print.gemspec +43 -0
  89. data/lib/generators/iiif_print/assets_generator.rb +29 -0
  90. data/lib/generators/iiif_print/catalog_controller_generator.rb +32 -0
  91. data/lib/generators/iiif_print/install_generator.rb +52 -0
  92. data/lib/generators/iiif_print/templates/config/initializers/iiif_print.rb +22 -0
  93. data/lib/generators/iiif_print/templates/iiif_print.scss +1 -0
  94. data/lib/iiif_print/base_derivative_service.rb +113 -0
  95. data/lib/iiif_print/blacklight_iiif_search/annotation_decorator.rb +84 -0
  96. data/lib/iiif_print/catalog_search_builder.rb +31 -0
  97. data/lib/iiif_print/configuration.rb +99 -0
  98. data/lib/iiif_print/data/fileset_helper.rb +25 -0
  99. data/lib/iiif_print/data/path_helper.rb +40 -0
  100. data/lib/iiif_print/data/work_derivatives.rb +323 -0
  101. data/lib/iiif_print/data/work_file.rb +92 -0
  102. data/lib/iiif_print/data/work_files.rb +199 -0
  103. data/lib/iiif_print/data.rb +35 -0
  104. data/lib/iiif_print/engine.rb +77 -0
  105. data/lib/iiif_print/errors.rb +9 -0
  106. data/lib/iiif_print/image_tool.rb +119 -0
  107. data/lib/iiif_print/jobs/application_job.rb +8 -0
  108. data/lib/iiif_print/jobs/child_works_from_pdf_job.rb +107 -0
  109. data/lib/iiif_print/jobs/create_relationships_job.rb +78 -0
  110. data/lib/iiif_print/jp2_derivative_service.rb +118 -0
  111. data/lib/iiif_print/jp2_image_metadata.rb +81 -0
  112. data/lib/iiif_print/lineage_service.rb +41 -0
  113. data/lib/iiif_print/metadata.rb +125 -0
  114. data/lib/iiif_print/pdf_derivative_service.rb +42 -0
  115. data/lib/iiif_print/split_pdfs/child_work_creation_from_pdf_service.rb +75 -0
  116. data/lib/iiif_print/split_pdfs/pages_into_images_service.rb +130 -0
  117. data/lib/iiif_print/split_pdfs/pdf_image_extraction_service.rb +85 -0
  118. data/lib/iiif_print/text_extraction/alto_reader.rb +123 -0
  119. data/lib/iiif_print/text_extraction/hocr_reader.rb +172 -0
  120. data/lib/iiif_print/text_extraction/page_ocr.rb +87 -0
  121. data/lib/iiif_print/text_extraction/render_alto.rb +84 -0
  122. data/lib/iiif_print/text_extraction/word_coords_builder.rb +38 -0
  123. data/lib/iiif_print/text_extraction.rb +11 -0
  124. data/lib/iiif_print/text_extraction_derivative_service.rb +47 -0
  125. data/lib/iiif_print/text_formats_from_alto_service.rb +77 -0
  126. data/lib/iiif_print/tiff_derivative_service.rb +50 -0
  127. data/lib/iiif_print/version.rb +3 -0
  128. data/lib/iiif_print/works_controller_behavior.rb +9 -0
  129. data/lib/iiif_print.rb +136 -0
  130. data/lib/tasks/set_child_works.rake +22 -0
  131. data/spec/.keep.txt +1 -0
  132. data/spec/factories/ability.rb +6 -0
  133. data/spec/factories/newspaper_issue.rb +7 -0
  134. data/spec/factories/newspaper_page.rb +7 -0
  135. data/spec/factories/newspaper_page_solr_document.rb +12 -0
  136. data/spec/factories/newspaper_title.rb +8 -0
  137. data/spec/factories/uploaded_pdf_file.rb +9 -0
  138. data/spec/factories/uploaded_txt_file.rb +9 -0
  139. data/spec/factories/user.rb +13 -0
  140. data/spec/fixtures/files/4.1.07.jp2 +0 -0
  141. data/spec/fixtures/files/4.1.07.tiff +0 -0
  142. data/spec/fixtures/files/README.md +7 -0
  143. data/spec/fixtures/files/alto-2-0.xsd +714 -0
  144. data/spec/fixtures/files/broken-truncated.pdf +0 -0
  145. data/spec/fixtures/files/credits.md +16 -0
  146. data/spec/fixtures/files/lowres-gray-via-ndnp-sample.tiff +0 -0
  147. data/spec/fixtures/files/minimal-1-page.pdf +0 -0
  148. data/spec/fixtures/files/minimal-2-page.pdf +0 -0
  149. data/spec/fixtures/files/minimal-alto.xml +31 -0
  150. data/spec/fixtures/files/ndnp-alto-sample.xml +24 -0
  151. data/spec/fixtures/files/ndnp-sample1-json.json +1 -0
  152. data/spec/fixtures/files/ndnp-sample1-txt.txt +1 -0
  153. data/spec/fixtures/files/ndnp-sample1.pdf +0 -0
  154. data/spec/fixtures/files/ocr_alto.xml +202 -0
  155. data/spec/fixtures/files/ocr_alto_scaled_4pts_per_px.xml +202 -0
  156. data/spec/fixtures/files/ocr_color.tiff +0 -0
  157. data/spec/fixtures/files/ocr_gray.jp2 +0 -0
  158. data/spec/fixtures/files/ocr_gray.tiff +0 -0
  159. data/spec/fixtures/files/ocr_mono.tiff +0 -0
  160. data/spec/fixtures/files/ocr_mono_text_hocr.html +78 -0
  161. data/spec/fixtures/files/page1.tiff +0 -0
  162. data/spec/fixtures/files/sample-4page-issue.pdf +0 -0
  163. data/spec/fixtures/files/sample-color-newsletter.pdf +0 -0
  164. data/spec/fixtures/files/thumbnail.jpg +0 -0
  165. data/spec/helpers/hyrax/iiif_helper_spec.rb +65 -0
  166. data/spec/helpers/iiif_print_helper_spec.rb +43 -0
  167. data/spec/iiif_print/base_derivative_service_spec.rb +11 -0
  168. data/spec/iiif_print/blacklight_iiif_search/annotation_decorator_spec.rb +51 -0
  169. data/spec/iiif_print/catalog_search_builder_spec.rb +60 -0
  170. data/spec/iiif_print/configuration_spec.rb +67 -0
  171. data/spec/iiif_print/data/work_derivatives_spec.rb +245 -0
  172. data/spec/iiif_print/data/work_file_spec.rb +99 -0
  173. data/spec/iiif_print/data/work_files_spec.rb +237 -0
  174. data/spec/iiif_print/image_tool_spec.rb +109 -0
  175. data/spec/iiif_print/jobs/child_works_from_pdf_job_spec.rb +30 -0
  176. data/spec/iiif_print/jobs/create_relationships_job_spec.rb +17 -0
  177. data/spec/iiif_print/jp2_image_metadata_spec.rb +37 -0
  178. data/spec/iiif_print/lineage_service_spec.rb +13 -0
  179. data/spec/iiif_print/metadata_spec.rb +115 -0
  180. data/spec/iiif_print/split_pdfs/pages_into_images_service_spec.rb +6 -0
  181. data/spec/iiif_print/text_extraction/alto_reader_spec.rb +49 -0
  182. data/spec/iiif_print/text_extraction/hocr_reader_spec.rb +45 -0
  183. data/spec/iiif_print/text_extraction/page_ocr_spec.rb +84 -0
  184. data/spec/iiif_print/text_extraction/render_alto_spec.rb +54 -0
  185. data/spec/iiif_print/text_extraction/word_coords_builder_spec.rb +44 -0
  186. data/spec/iiif_print_spec.rb +51 -0
  187. data/spec/misc_shared.rb +111 -0
  188. data/spec/models/iiif_print/derivative_attachment_spec.rb +37 -0
  189. data/spec/models/iiif_print/ingest_file_relation_spec.rb +56 -0
  190. data/spec/models/solr_document_spec.rb +14 -0
  191. data/spec/presenters/iiif_print/iiif_manifest_presenter_behavior_spec.rb +19 -0
  192. data/spec/presenters/iiif_print/iiif_manifest_presenter_factory_behavior_spec.rb +49 -0
  193. data/spec/services/iiif_print/jp2_derivative_service_spec.rb +59 -0
  194. data/spec/services/iiif_print/pdf_derivative_service_spec.rb +66 -0
  195. data/spec/services/iiif_print/pluggable_derivative_service_spec.rb +178 -0
  196. data/spec/services/iiif_print/text_extraction_derivative_service_spec.rb +82 -0
  197. data/spec/services/iiif_print/text_formats_from_alto_service_spec.rb +127 -0
  198. data/spec/services/iiif_print/tiff_derivative_service_spec.rb +65 -0
  199. data/spec/spec_helper.rb +181 -0
  200. data/spec/support/controller_level_helpers.rb +28 -0
  201. data/spec/support/iiif_print_models.rb +127 -0
  202. data/spec/test_app_templates/blacklight.yml +9 -0
  203. data/spec/test_app_templates/fedora.yml +15 -0
  204. data/spec/test_app_templates/lib/generators/test_app_generator.rb +40 -0
  205. data/spec/test_app_templates/redis.yml +9 -0
  206. data/spec/test_app_templates/solr/conf/schema.xml +362 -0
  207. data/spec/test_app_templates/solr/conf/solrconfig.xml +322 -0
  208. data/spec/test_app_templates/solr.yml +7 -0
  209. data/tasks/iiif_print_dev.rake +34 -0
  210. data/tmp/.keep +0 -0
  211. metadata +605 -0
@@ -0,0 +1,142 @@
1
+ ---
2
+ it:
3
+ iiif_print:
4
+ attributes:
5
+ alternative_title:
6
+ label: 'Titolo aggiuntivo'
7
+ genre:
8
+ label: 'Genere'
9
+ held_by:
10
+ label: 'Tenendo posizione'
11
+ text_direction:
12
+ label: 'Direzione testo'
13
+ page_number:
14
+ label: 'Impaginazione'
15
+ section:
16
+ label: 'Sezione'
17
+ author:
18
+ label: 'Autore'
19
+ photographer:
20
+ label: 'Fotografo'
21
+ volume:
22
+ label: 'Volume'
23
+ issue_number:
24
+ label: 'Edizione numero'
25
+ edition_name:
26
+ label: 'Edizione nome'
27
+ edition_number:
28
+ label: 'Edizione numero'
29
+ geographic_coverage:
30
+ label: 'Luoghi descritti'
31
+ extent:
32
+ label: 'Caratteristiche fisiche'
33
+ publication_date:
34
+ label: 'Data di pubblicazione'
35
+ publication_date_start:
36
+ label: 'Data di pubblicazione (inizio)'
37
+ publication_date_end:
38
+ label: 'Data di pubblicazione (fine)'
39
+ frequency:
40
+ label: 'Frequenza'
41
+ preceded_by:
42
+ label: 'Titolo precedente'
43
+ succeeded_by:
44
+ label: 'Titolo successivo'
45
+ issn:
46
+ label: 'ISSN'
47
+ lccn:
48
+ label: 'LCCN'
49
+ oclcnum:
50
+ label: 'OCLC #'
51
+ place_of_publication:
52
+ label: 'Luogo di pubblicazione'
53
+ publication_title:
54
+ label: 'Pubblicazione'
55
+ newspapers_search:
56
+ title: 'Cerca giornali'
57
+ text: 'Utilizzare questo modulo per cercare contenuti di giornali a testo completo.'
58
+ help:
59
+ title: 'Suggerimenti per la ricerca di quotidiani:'
60
+ tips:
61
+ open_date_range: "Per un limite dell'intervallo di date aperto (ad es. Prima del 1850, dopo il 1900 ecc.) Lasciare il campo \"Inizio\" o \"Fine\" in bianco nella sezione \"Intervallo date\"."
62
+ undated_items: "Se nel campo \"Intervallo date\" viene inserito un intervallo di date, gli elementi non datati non saranno inclusi nei risultati di ricerca."
63
+ limiters: 'Se nessuna casella è selezionata nella sezione del limite di campo, verranno inclusi tutti i valori.'
64
+ quotation_marks: 'Usa le virgolette per cercare come frase.'
65
+ boolean: "Utilizzare \"OR\", \"AND\" e \"NOT\" all'interno del campo della parola chiave per creare una logica booleana complessa. Puoi anche usare le parentesi."
66
+ plus: "Usa \"+\" prima di un termine per renderlo necessario."
67
+ minus: "Usa \"-\" prima di una parola o frase per escluderla."
68
+ fields:
69
+ date_end: 'Fine anno'
70
+ date_range: 'Intervallo di date'
71
+ date_start: "Inizia l'anno"
72
+ front_pages: 'Limita la ricerca alle prime pagine'
73
+ keyword: 'Parole'
74
+
75
+ title_search_form:
76
+ label: "Cerca all'interno di questo giornale"
77
+ placeholder: "Cerca all'interno di questo giornale..."
78
+ front_pages_link: 'Visualizza tutte le prime pagine'
79
+
80
+ simple_form:
81
+ hints:
82
+ defaults:
83
+ held_by: "Il nome della libreria o dell'organizzazione che contiene l'elemento originale."
84
+ place_of_publication: "La posizione in cui l'articolo è stato pubblicato."
85
+ alternative_title: "Un titolo o sottotitolo aggiuntivo per l'elemento."
86
+ edition_name: "Il nome dell'edizione dell'articolo."
87
+ edition_number: "Il numero dell'edizione dell'articolo."
88
+ extent: "Una descrizione delle caratteristiche fisiche dell'articolo."
89
+ frequency: 'Frequenza di pubblicazione.'
90
+ preceded_by: 'Il titolo che ha preceduto questa pubblicazione.'
91
+ succeeded_by: 'Il titolo che seguì questa pubblicazione.'
92
+ publication_date: 'Data di pubblicazione (YYYY-MM-DD).'
93
+ publication_date_start: 'Data inizio di pubblicazione (YYYY-MM-DD).'
94
+ publication_date_end: 'Data fine di pubblicazione (YYYY-MM-DD).'
95
+ genre: 'Tipo di articolo di giornale.'
96
+ geographic_coverage: 'La posizione descritta in questo articolo.'
97
+ page_number: 'Le informazioni di impaginazione, come scritto nella pagina.'
98
+ text_direction: 'La direzione in cui viene letto il testo.'
99
+ section: "La sezione del giornale in cui appare l'articolo."
100
+ labels:
101
+ defaults:
102
+ held_by: 'Tenendo posizione'
103
+ identifier: 'Identificatore (locale)'
104
+ issn: 'ISSN'
105
+ lccn: 'LCCN'
106
+ oclcnum: 'OCLC #'
107
+ publication_date_end: 'Data di pubblicazione (fine)'
108
+ publication_date_start: 'Data di pubblicazione (inizio)'
109
+ publication_date: 'Date de publication'
110
+ place_of_publication: 'Posizione di pubblicazione'
111
+ alternative_title: 'Titolo aggiuntivo'
112
+ edition_name: "Edizione nome"
113
+ edition_number: "Edizione numero"
114
+ volume: 'Volume'
115
+ issue_number: 'Edizione numero'
116
+ page_number: 'Impaginazione'
117
+ section: 'Sezione'
118
+ extent: "Caratteristiche fisiche"
119
+ frequency: 'Frequenza'
120
+ preceded_by: 'Titolo precedente'
121
+ succeeded_by: 'Titolo successivo'
122
+ genre: "Genere"
123
+ geographic_coverage: "Luoghi descritti"
124
+ author: 'Autore'
125
+ photographer: 'Fotografo'
126
+ height: 'Altezza'
127
+ width: 'Larghezza'
128
+ text_direction: 'Direzione testo'
129
+
130
+ blacklight:
131
+ search:
132
+ fields:
133
+ all_text_tsimv: 'Corrispondenze di parole chiave'
134
+ place_of_publication_label_tesim: 'Posizione di pubblicazione'
135
+ publication_title_ssi: 'Giornale'
136
+ publication_date_dtsi: 'Data di pubblicazione'
137
+ publication_date_start_dtsi: 'Data di pubblicazione (inizio)'
138
+ publication_date_end_dtsi: 'Data di pubblicazione (fine)'
139
+ results:
140
+ snippets:
141
+ less: '<< meno'
142
+ more: 'più >>'
@@ -0,0 +1,148 @@
1
+ ---
2
+ pt-BR:
3
+ iiif_print:
4
+ attributes:
5
+ held_by:
6
+ label: 'Segurando localização'
7
+ identifier:
8
+ label: 'Identificador (local)'
9
+ issn:
10
+ label: 'ISSN'
11
+ lccn:
12
+ label: 'LCCN'
13
+ oclcnum:
14
+ label: 'OCLC #'
15
+ publication_date_end:
16
+ label: 'Data de publicação (fim)'
17
+ publication_date_start:
18
+ label: 'Data de publicação (começo)'
19
+ publication_date:
20
+ label: 'Data de publicação'
21
+ alternative_title:
22
+ label: 'Título adicional'
23
+ edition_name:
24
+ label: 'Nome da edição'
25
+ edition_number:
26
+ label: 'Numero da edição'
27
+ volume:
28
+ label: 'Volume'
29
+ issue_number:
30
+ label: 'Numero da edição'
31
+ page_number:
32
+ label: 'Paginação'
33
+ section:
34
+ label: 'Seção'
35
+ extent:
36
+ label: 'Características físicas'
37
+ frequency:
38
+ label: 'Frequência'
39
+ preceded_by:
40
+ label: 'Título precedente'
41
+ succeeded_by:
42
+ label: 'Título de sucesso'
43
+ genre:
44
+ label: 'Gênero'
45
+ geographic_coverage:
46
+ label: 'Locais descritos'
47
+ author:
48
+ label: 'Autor'
49
+ photographer:
50
+ label: 'Fotógrafo'
51
+ height:
52
+ label: 'Altura'
53
+ width:
54
+ label: 'Largura'
55
+ text_direction:
56
+ label: 'Direção texto'
57
+ place_of_publication:
58
+ label: 'Local de publicação'
59
+ publication_title:
60
+ label: 'Publicação'
61
+ newspapers_search:
62
+ title: 'Pesquisar jornais'
63
+ text: 'Use este formulário para pesquisar conteúdo de jornal em texto completo.'
64
+ help:
65
+ title: 'Dicas de pesquisa de jornais:'
66
+ tips:
67
+ open_date_range: 'Para um limite de intervalo de datas em aberto (por exemplo, antes de 1850, após 1900, etc.), deixe o campo "Início" ou "Fim" em branco na seção "Intervalo de datas".'
68
+ undated_items: 'Se um período for inserido no formulário na seção "Intervalo de datas", os itens não datados não serão incluídos nos resultados da pesquisa.'
69
+ limiters: 'Se nenhuma caixa estiver marcada na seção de limite de campo, todos os valores serão incluídos.'
70
+ quotation_marks: 'Use aspas para pesquisar como uma frase.'
71
+ boolean: 'Use "OR", "AND" e "NOT" no campo da palavra-chave para criar uma lógica booleana complexa. Você também pode usar parênteses.'
72
+ plus: 'Use "+" antes de um termo para torná-lo necessário.'
73
+ minus: 'Use "-" antes de uma palavra ou frase para excluí-lo.'
74
+ fields:
75
+ date_end: 'Fim de ano'
76
+ date_range: 'Intervalo de datas'
77
+ date_start: 'Ano de início'
78
+ front_pages: 'Limitar a pesquisa às primeiras páginas'
79
+ keyword: 'Palavras-chave'
80
+
81
+ title_search_form:
82
+ label: 'Pesquise neste jornal'
83
+ placeholder: 'Pesquise neste jornal...'
84
+ front_pages_link: 'Ver todas as páginas principais'
85
+
86
+ simple_form:
87
+ hints:
88
+ defaults:
89
+ held_by: 'O nome da biblioteca ou organização que contém o item original.'
90
+ place_of_publication: 'O local em que o item foi publicado.'
91
+ alternative_title: 'Um título ou legenda adicional para o item.'
92
+ edition_name: 'O nome da edição do item.'
93
+ edition_number: "O número da edição do item."
94
+ extent: 'Uma descrição das características físicas do item.'
95
+ frequency: 'Frequência de publicação.'
96
+ preceded_by: 'O título que precedeu esta publicação.'
97
+ succeeded_by: 'O título que se seguiu a esta publicação.'
98
+ publication_date: 'Data de publicação (YYYY-MM-DD).'
99
+ publication_date_start: 'Data começo de publicação (YYYY-MM-DD).'
100
+ publication_date_end: 'Data fim de publicação (YYYY-MM-DD).'
101
+ genre: 'Tipo de artigo de jornal.'
102
+ geographic_coverage: 'O local descrito neste artigo.'
103
+ page_number: 'As informações de paginação, conforme gravadas na página.'
104
+ text_direction: 'A direção na qual o texto é lido.'
105
+ section: 'A seção do jornal em que o item aparece.'
106
+ labels:
107
+ defaults:
108
+ held_by: 'Segurando localização'
109
+ identifier: 'Identificador (local)'
110
+ issn: 'ISSN'
111
+ lccn: 'LCCN'
112
+ oclcnum: 'OCLC #'
113
+ publication_date_end: 'Data de publicação (fim)'
114
+ publication_date_start: 'Data de publicação (começo)'
115
+ publication_date: 'Data de publicação'
116
+ place_of_publication: 'Local de publicado'
117
+ alternative_title: 'Título adicional'
118
+ edition_name: "Nome da edição"
119
+ edition_number: "Numero da edição"
120
+ volume: 'Volume'
121
+ issue_number: 'Numero da edição'
122
+ page_number: 'Paginação'
123
+ section: 'Seção'
124
+ extent: "Características físicas"
125
+ frequency: 'Frequência'
126
+ preceded_by: 'Título precedente'
127
+ succeeded_by: 'Título de sucesso'
128
+ genre: "Gênero"
129
+ geographic_coverage: "Locais descritos"
130
+ author: 'Autor'
131
+ photographer: 'Fotógrafo'
132
+ height: 'Altura'
133
+ width: 'Largura'
134
+ text_direction: 'Direção texto'
135
+
136
+ blacklight:
137
+ search:
138
+ fields:
139
+ all_text_tsimv: 'Correspondências de palavras-chave'
140
+ place_of_publication_label_tesim: 'Local de publicado'
141
+ publication_title_ssi: 'Jornal'
142
+ publication_date_dtsi: 'Date de publication'
143
+ publication_date_start_dtsi: 'Data de publicação (começo)'
144
+ publication_date_end_dtsi: 'Data de publicação (fim)'
145
+ results:
146
+ snippets:
147
+ less: '<< menos'
148
+ more: 'mais >>'
@@ -0,0 +1,142 @@
1
+ ---
2
+ zh:
3
+ iiif_print:
4
+ attributes:
5
+ alternative_title:
6
+ label: '替代标题'
7
+ genre:
8
+ label: '类型'
9
+ held_by:
10
+ label: '持有位置'
11
+ text_direction:
12
+ label: '文字方向'
13
+ page_number:
14
+ label: '页码'
15
+ section:
16
+ label: '部分'
17
+ author:
18
+ label: '作者'
19
+ photographer:
20
+ label: '摄影家'
21
+ volume:
22
+ label: '体积'
23
+ issue_number:
24
+ label: '发行数量'
25
+ edition_name:
26
+ label: '项目版本的名称'
27
+ edition_number:
28
+ label: '项目的版本号'
29
+ geographic_coverage:
30
+ label: '所描述的地方'
31
+ extent:
32
+ label: '物理描述'
33
+ publication_date:
34
+ label: '出版日期'
35
+ publication_date_start:
36
+ label: '出版日期(开始)'
37
+ publication_date_end:
38
+ label: '出版日期(结束)'
39
+ frequency:
40
+ label: '发布频率'
41
+ preceded_by:
42
+ label: '前一个标题'
43
+ succeeded_by:
44
+ label: '继任职称'
45
+ issn:
46
+ label: 'ISSN'
47
+ lccn:
48
+ label: 'LCCN'
49
+ oclcnum:
50
+ label: 'OCLC #'
51
+ place_of_publication:
52
+ label: '出版地'
53
+ publication_title:
54
+ label: '出版物标题'
55
+ newspapers_search:
56
+ title: '搜索报纸'
57
+ text: '使用此表单搜索全文报纸内容。'
58
+ help:
59
+ title: '报纸搜索提示:'
60
+ tips:
61
+ open_date_range: '对于开放日期范围限制(例如,在1850之前,1900之后等),在“日期范围”部分中将“开始”或“结束”字段留空。'
62
+ undated_items: '如果在“日期范围”部分的表单中输入日期范围,则未注明日期的项目将不会包含在搜索结果中。'
63
+ limiters: '如果在字段限制部分中未选中任何框,则将包括所有值。'
64
+ quotation_marks: '使用引号作为短语进行搜索。'
65
+ boolean: '在关键字字段中使用“OR”,“AND”和“NOT”来创建复杂的布尔逻辑。 您也可以使用括号。'
66
+ plus: '在术语前使用“+”使其成为必需。'
67
+ minus: '在单词或短语之前使用“ - ”排除它。'
68
+ fields:
69
+ date_end: '结束一年'
70
+ date_range: '日期范围'
71
+ date_start: '开始一年'
72
+ front_pages: '将搜索限制在首页s'
73
+ keyword: '关键词'
74
+
75
+ title_search_form:
76
+ label: '在这份报纸内搜索'
77
+ placeholder: '在这份报纸内搜索...'
78
+ front_pages_link: '查看所有头版'
79
+
80
+ simple_form:
81
+ hints:
82
+ defaults:
83
+ held_by: '拥有原始项目的图书馆或组织的名称。'
84
+ place_of_publication: '项目发布的位置。'
85
+ alternative_title: '项目的其他标题或副标题。'
86
+ edition_name: '项目版本的名称。'
87
+ edition_number: "项目的版本号。"
88
+ extent: '项目实际范围的描述'
89
+ frequency: '发布频率。'
90
+ preceded_by: '本出版物之前的标题。'
91
+ succeeded_by: '该出版物之后的标题。'
92
+ publication_date: '发布日期 (YYYY-MM-DD).'
93
+ publication_date_start: '出版日期(开始) (YYYY-MM-DD).'
94
+ publication_date_end: '出版日期(结束) (YYYY-MM-DD).'
95
+ genre: '报纸文章的类型。'
96
+ geographic_coverage: '本文中描述的位置。'
97
+ page_number: '分页信息写在页面上。'
98
+ text_direction: '文本阅读的方向。'
99
+ section: '出现项目的报纸部分。'
100
+ labels:
101
+ defaults:
102
+ held_by: '持有位置'
103
+ identifier: '标识符(本地)'
104
+ issn: 'ISSN'
105
+ lccn: 'LCCN'
106
+ oclcnum: 'OCLC #'
107
+ publication_date_end: '出版日期(结束)'
108
+ publication_date_start: '出版日期(开始)'
109
+ publication_date: '出版日期'
110
+ place_of_publication: '项目发布的位置'
111
+ alternative_title: '替代标题'
112
+ edition_name: "项目版本的名称"
113
+ edition_number: "项目的版本号"
114
+ volume: '体积'
115
+ issue_number: '发行数量'
116
+ page_number: '页码'
117
+ section: '部分'
118
+ extent: "物理描述"
119
+ frequency: '发布频率'
120
+ preceded_by: '前一个标题'
121
+ succeeded_by: '继任职称'
122
+ genre: "类型"
123
+ geographic_coverage: "所描述的地方"
124
+ author: '作者'
125
+ photographer: '摄影家'
126
+ height: '高度'
127
+ width: '宽度'
128
+ text_direction: '文字方向'
129
+
130
+ blacklight:
131
+ search:
132
+ fields:
133
+ all_text_tsimv: '关键字匹配'
134
+ place_of_publication_label_tesim: '项目发布的位置'
135
+ publication_title_ssi: '报纸'
136
+ publication_date_dtsi: '出版日期'
137
+ publication_date_start_dtsi: '出版日期(开始)'
138
+ publication_date_end_dtsi: '出版日期(结束)'
139
+ results:
140
+ snippets:
141
+ less: '<< 减'
142
+ more: '更多 >>'
@@ -0,0 +1,9 @@
1
+ #config/solr_wrapper_test.yml
2
+ version: 7.7.1
3
+ port: 8985
4
+ download_dir: tmp
5
+ instance_dir: tmp/solr-test
6
+ collection:
7
+ persist: false
8
+ dir: config/test-fixture/solr-config
9
+ name: hydra-test
@@ -0,0 +1,3 @@
1
+ {
2
+ "initArgs":{},
3
+ "managedList":[]}
@@ -0,0 +1,31 @@
1
+ <!--
2
+ Licensed to the Apache Software Foundation (ASF) under one or more
3
+ contributor license agreements. See the NOTICE file distributed with
4
+ this work for additional information regarding copyright ownership.
5
+ The ASF licenses this file to You under the Apache License, Version 2.0
6
+ (the "License"); you may not use this file except in compliance with
7
+ the License. You may obtain a copy of the License at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ Unless required by applicable law or agreed to in writing, software
12
+ distributed under the License is distributed on an "AS IS" BASIS,
13
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ See the License for the specific language governing permissions and
15
+ limitations under the License.
16
+ -->
17
+
18
+ <!-- The content of this page will be statically included into the top
19
+ of the admin page. Uncomment this as an example to see there the content
20
+ will show up.
21
+
22
+ <hr>
23
+ <i>This line will appear before the first table</i>
24
+ <tr>
25
+ <td colspan="2">
26
+ This row will be appended to the end of the first table
27
+ </td>
28
+ </tr>
29
+ <hr>
30
+
31
+ -->
@@ -0,0 +1,36 @@
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
+ <!-- If this file is found in the config directory, it will only be
20
+ loaded once at startup. If it is found in Solr's data
21
+ directory, it will be re-loaded every commit.
22
+ -->
23
+
24
+ <elevate>
25
+ <query text="foo bar">
26
+ <doc id="1" />
27
+ <doc id="2" />
28
+ <doc id="3" />
29
+ </query>
30
+
31
+ <query text="ipod">
32
+ <doc id="MA147LL/A" /> <!-- put the actual ipod at the top -->
33
+ <doc id="IW-02" exclude="true" /> <!-- exclude this cable -->
34
+ </query>
35
+
36
+ </elevate>