Skip to content

Commit

Permalink
hOCR search: Fix view parameter name.
Browse files Browse the repository at this point in the history
  • Loading branch information
alxp committed Jul 19, 2024
1 parent 456e16e commit 1a3d029
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 30 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
],
"require": {
"php": "^7.4 || ^8",
"born-digital/islandora_iiif_hocr": "^2@dev",
"born-digital/islandora_iiif_hocr": "^2",
"composer/installers": "^1.9",
"cweagans/composer-patches": "^1.7",
"discoverygarden/dgi_image_discovery": "^1",
Expand Down
3 changes: 1 addition & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/sync/key.key.islandora_rsa_key.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ key_type_settings:
algorithm: RS256
key_provider: file
key_provider_settings:
file_location: /opt/islandora/auth/private.key
file_location: /opt/keys/jwt/private.key
key_input: none
key_input_settings: { }
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ domains: { }
field_type:
name: islandora_hocr_und
class: solr.TextField
storeOffsetsWithPositions: true
analyzers:
-
type: index
Expand Down Expand Up @@ -83,7 +84,6 @@ field_type:
class: solr.LowerCaseFilterFactory
-
class: solr.RemoveDuplicatesTokenFilterFactory
storeOffsetsWithPositions: true
unstemmed_field_type: null
spellcheck_field_type: null
collated_field_type: null
Expand Down
24 changes: 12 additions & 12 deletions config/sync/views.view.iiif_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@ display:
field_media_image: field_media_image
field_media_file: '0'
iiif_ocr_file_field:
field_media_file: 0
field_media_image: 0
structured_text_term: '56'
search_endpoint: paged-content-search/%node
field_media_file: '0'
field_media_image: '0'
structured_text_term_uri: 'https://discoverygarden.ca/use#hocr'
search_endpoint: paged-content-search/%node
structured_text_term: '56'
row:
type: data_field
options:
Expand Down Expand Up @@ -586,11 +586,11 @@ display:
field_media_image: field_media_image
field_media_file: '0'
iiif_ocr_file_field:
field_media_file: 0
field_media_image: 0
structured_text_term: '56'
search_endpoint: single-page-content-search/%node
field_media_file: '0'
field_media_image: '0'
structured_text_term_uri: 'https://discoverygarden.ca/use#hocr'
search_endpoint: single-page-content-search/%node
structured_text_term: '56'
row:
type: data_field
options:
Expand Down Expand Up @@ -663,11 +663,11 @@ display:
field_media_file: field_media_file
field_media_image: '0'
iiif_ocr_file_field:
field_media_file: 0
field_media_image: 0
structured_text_term: '56'
search_endpoint: paged-content-search/%node
field_media_file: '0'
field_media_image: '0'
structured_text_term_uri: 'https://discoverygarden.ca/use#hocr'
search_endpoint: paged-content-search/%node
structured_text_term: '56'
row:
type: data_field
options:
Expand Down
22 changes: 9 additions & 13 deletions config/sync/views.view.search_in_hocr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ display:
type: none
options: { }
cache:
type: none
type: search_api_none
options: { }
empty: { }
sorts:
Expand Down Expand Up @@ -624,22 +624,20 @@ display:
operator: search_api_fulltext_op
operator_limit_selection: false
operator_list: { }
identifier: search_content
identifier: search_hocr
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
content_editor: '0'
administrator: '0'
repository_admin: '0'
hampshire: '0'
mt_holyoke: '0'
smith: '0'
submission_reviewer: '0'
fedoraadmin: '0'
expose_fields: false
placeholder: ''
searched_fields_id: search_api_fulltext_searched_fields
value_maxlength: 128
is_grouped: false
group_info:
label: ''
Expand Down Expand Up @@ -981,22 +979,20 @@ display:
operator: search_api_fulltext_op
operator_limit_selection: false
operator_list: { }
identifier: search_content
identifier: search_hocr
required: false
remember: false
multiple: false
remember_roles:
authenticated: authenticated
anonymous: '0'
content_editor: '0'
administrator: '0'
repository_admin: '0'
hampshire: '0'
mt_holyoke: '0'
smith: '0'
submission_reviewer: '0'
fedoraadmin: '0'
expose_fields: false
placeholder: ''
searched_fields_id: search_api_fulltext_searched_fields
value_maxlength: 128
is_grouped: false
group_info:
label: ''
Expand Down

0 comments on commit 1a3d029

Please sign in to comment.