From 958a5900f8871838c541276ac112c176ee5a8976 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Tue, 20 Aug 2019 16:40:25 -0300 Subject: [PATCH 01/10] Search config files. --- .../field.storage.media.field_edited_text.yml | 22 ++ .../install/views.view.creator_search.yml | 305 ++++++++++++++++++ .../install/views.view.quick_search.yml | 305 ++++++++++++++++++ ...licensetaxonomytermlicenselinklinktext.yml | 22 ++ .../optional/block.block.publicationyear.yml | 22 ++ .../optional/block.block.refinesearchby.yml | 24 ++ .../block.block.resourcetypegeneral.yml | 22 ++ .../config/optional/block.block.subjects.yml | 22 ++ ...e_taxonomy_term_license_link_link_text.yml | 69 ++++ .../facets.facet.publication_year.yml | 69 ++++ .../facets.facet.resource_type_general_.yml | 69 ++++ .../config/optional/facets.facet.subjects.yml | 69 ++++ 12 files changed, 1020 insertions(+) create mode 100644 islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml create mode 100644 islandora_rdm_solr_config/config/install/views.view.creator_search.yml create mode 100644 islandora_rdm_solr_config/config/install/views.view.quick_search.yml create mode 100644 islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml create mode 100644 islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml create mode 100644 islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml create mode 100644 islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml create mode 100644 islandora_rdm_solr_config/config/optional/block.block.subjects.yml create mode 100644 islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml create mode 100644 islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml create mode 100644 islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml create mode 100644 islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml diff --git a/islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml b/islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml new file mode 100644 index 0000000..ce14503 --- /dev/null +++ b/islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + module: + - field_permissions + - media + - text +third_party_settings: + field_permissions: + permission_type: public +id: media.field_edited_text +field_name: field_edited_text +entity_type: media +type: text_long +settings: { } +module: text +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/islandora_rdm_solr_config/config/install/views.view.creator_search.yml b/islandora_rdm_solr_config/config/install/views.view.creator_search.yml new file mode 100644 index 0000000..1cb5e3c --- /dev/null +++ b/islandora_rdm_solr_config/config/install/views.view.creator_search.yml @@ -0,0 +1,305 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + module: + - search_api +id: creator_search +label: 'Creator Search' +module: views +description: '' +tag: '' +base_table: search_api_index_default_solr_index +base_field: search_api_id +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: tag + options: { } + query: + type: views_query + options: + bypass_access: false + skip_access: false + preserve_facet_query_args: false + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: default + row: + type: fields + fields: + author: + table: search_api_index_default_solr_index + field: author + id: author + entity_type: null + entity_field: null + plugin_id: search_api_field + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + title: + id: title + table: search_api_datasource_default_solr_index_entity_node + field: title + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + entity_type: node + plugin_id: search_api_field + filters: + field_rdm_personal_name: + id: field_rdm_personal_name + table: search_api_index_default_solr_index + field: field_rdm_personal_name + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: + min: '' + max: '' + value: '' + group: 1 + exposed: true + expose: + operator_id: field_rdm_personal_name_op + label: Creator + description: '' + use_operator: false + operator: field_rdm_personal_name_op + identifier: field_rdm_personal_name + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + fedoraadmin: '0' + islandora_rdm_metadata_curator: '0' + islandora_rdm_data_curator: '0' + islandora_rdm_data_creator: '0' + placeholder: 'Creator name' + min_placeholder: '' + max_placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: search_api_text + sorts: { } + title: 'Quick Search' + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + tags: { } + block_1: + display_plugin: block + id: block_1 + display_title: Block + position: 2 + display_options: + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + tags: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: quick-search + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + tags: { } diff --git a/islandora_rdm_solr_config/config/install/views.view.quick_search.yml b/islandora_rdm_solr_config/config/install/views.view.quick_search.yml new file mode 100644 index 0000000..ce162fb --- /dev/null +++ b/islandora_rdm_solr_config/config/install/views.view.quick_search.yml @@ -0,0 +1,305 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + module: + - search_api +id: quick_search +label: 'Quick Search' +module: views +description: '' +tag: '' +base_table: search_api_index_default_solr_index +base_field: search_api_id +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: tag + options: { } + query: + type: views_query + options: + bypass_access: false + skip_access: false + preserve_facet_query_args: false + exposed_form: + type: basic + options: + submit_button: Apply + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + tags: + previous: ‹‹ + next: ›› + style: + type: default + row: + type: fields + fields: + author: + table: search_api_index_default_solr_index + field: author + id: author + entity_type: null + entity_field: null + plugin_id: search_api_field + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: true + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: { } + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + title: + id: title + table: search_api_datasource_default_solr_index_entity_node + field: title + relationship: none + group_type: group + admin_label: '' + label: '' + exclude: false + alter: + alter_text: false + text: '' + make_link: false + path: '' + absolute: false + external: false + replace_spaces: false + path_case: none + trim_whitespace: false + alt: '' + rel: '' + link_class: '' + prefix: '' + suffix: '' + target: '' + nl2br: false + max_length: 0 + word_boundary: true + ellipsis: true + more_link: false + more_link_text: '' + more_link_path: '' + strip_tags: false + trim: false + preserve_tags: '' + html: false + element_type: '' + element_class: '' + element_label_type: '' + element_label_class: '' + element_label_colon: false + element_wrapper_type: '' + element_wrapper_class: '' + element_default_classes: true + empty: '' + hide_empty: false + empty_zero: false + hide_alter_empty: true + click_sort_column: value + type: string + settings: + link_to_entity: false + group_column: value + group_columns: { } + group_rows: true + delta_limit: 0 + delta_offset: 0 + delta_reversed: false + delta_first_last: false + multi_type: separator + separator: ', ' + field_api_classes: false + field_rendering: true + fallback_handler: search_api + fallback_options: + link_to_item: false + use_highlighting: false + multi_type: separator + multi_separator: ', ' + entity_type: node + plugin_id: search_api_field + filters: + field_rdm_personal_name: + id: field_rdm_personal_name + table: search_api_index_default_solr_index + field: field_rdm_personal_name + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: + min: '' + max: '' + value: '' + group: 1 + exposed: true + expose: + operator_id: field_rdm_personal_name_op + label: 'Creator » Paragraph » Personal Name' + description: '' + use_operator: false + operator: field_rdm_personal_name_op + identifier: field_rdm_personal_name + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + fedoraadmin: '0' + islandora_rdm_metadata_curator: '0' + islandora_rdm_data_curator: '0' + islandora_rdm_data_creator: '0' + placeholder: '' + min_placeholder: '' + max_placeholder: '' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: search_api_text + sorts: { } + title: 'Quick Search' + header: { } + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + tags: { } + block_1: + display_plugin: block + id: block_1 + display_title: Block + position: 2 + display_options: + display_extenders: { } + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + tags: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: quick-search + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - url.query_args + tags: { } diff --git a/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml b/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml new file mode 100644 index 0000000..9e6a4d4 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - facets.facet.license_taxonomy_term_license_link_link_text + module: + - facets + theme: + - carapace +id: licensetaxonomytermlicenselinklinktext +theme: carapace +region: sidebar_first +weight: 6 +provider: null +plugin: 'facet_block:license_taxonomy_term_license_link_link_text' +settings: + id: 'facet_block:license_taxonomy_term_license_link_link_text' + label: License + provider: facets + label_display: '0' + block_id: licensetaxonomytermlicenselinklinktext +visibility: { } diff --git a/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml b/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml new file mode 100644 index 0000000..de113c6 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - facets.facet.publication_year + module: + - facets + theme: + - carapace +id: publicationyear +theme: carapace +region: sidebar_first +weight: 3 +provider: null +plugin: 'facet_block:publication_year' +settings: + id: 'facet_block:publication_year' + label: 'Publication Year' + provider: facets + label_display: '0' + block_id: publicationyear +visibility: { } diff --git a/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml b/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml new file mode 100644 index 0000000..99916b2 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml @@ -0,0 +1,24 @@ +langcode: en +status: true +dependencies: + content: + - 'block_content:basic:5b545da2-17a8-4bb7-91ee-1362809ca948' + module: + - block_content + theme: + - carapace +id: refinesearchby +theme: carapace +region: sidebar_first +weight: 1 +provider: null +plugin: 'block_content:5b545da2-17a8-4bb7-91ee-1362809ca948' +settings: + id: 'block_content:5b545da2-17a8-4bb7-91ee-1362809ca948' + label: 'Refine Search By:' + provider: block_content + label_display: '0' + status: true + info: '' + view_mode: full +visibility: { } diff --git a/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml b/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml new file mode 100644 index 0000000..c0680b3 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - facets.facet.resource_type_general_ + module: + - facets + theme: + - carapace +id: resourcetypegeneral +theme: carapace +region: sidebar_first +weight: 2 +provider: null +plugin: 'facet_block:resource_type_general_' +settings: + id: 'facet_block:resource_type_general_' + label: 'Resource Type' + provider: facets + label_display: '0' + block_id: resourcetypegeneral +visibility: { } diff --git a/islandora_rdm_solr_config/config/optional/block.block.subjects.yml b/islandora_rdm_solr_config/config/optional/block.block.subjects.yml new file mode 100644 index 0000000..81e39b6 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/block.block.subjects.yml @@ -0,0 +1,22 @@ +langcode: en +status: true +dependencies: + config: + - facets.facet.subjects + module: + - facets + theme: + - carapace +id: subjects +theme: carapace +region: sidebar_first +weight: 4 +provider: null +plugin: 'facet_block:subjects' +settings: + id: 'facet_block:subjects' + label: Subjects + provider: facets + label_display: '0' + block_id: subjects +visibility: { } diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml b/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml new file mode 100644 index 0000000..292c952 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml @@ -0,0 +1,69 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: license_taxonomy_term_license_link_link_text +name: License +url_alias: license_taxonomy_term_license_link_link_text +weight: 1 +min_count: 1 +show_only_one_result: false +field_identifier: title_1 +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: true + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_limit: + processor_id: count_limit + weights: + build: 50 + settings: + minimum_items: 1 + maximum_items: null + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml b/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml new file mode 100644 index 0000000..9b7dcdc --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml @@ -0,0 +1,69 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: publication_year +name: 'Publication Year' +url_alias: publication_year +weight: 1 +min_count: 1 +show_only_one_result: false +field_identifier: field_rdm_publication_year +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: true + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_limit: + processor_id: count_limit + weights: + build: 50 + settings: + minimum_items: 1 + maximum_items: null + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml b/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml new file mode 100644 index 0000000..c25e616 --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml @@ -0,0 +1,69 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: resource_type_general_ +name: 'Resource Type' +url_alias: resource_type_general_ +weight: 1 +min_count: 1 +show_only_one_result: false +field_identifier: field_rdm_resource_type_general +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: true + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_limit: + processor_id: count_limit + weights: + build: 50 + settings: + minimum_items: 1 + maximum_items: null + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml b/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml new file mode 100644 index 0000000..2ae5c6d --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml @@ -0,0 +1,69 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: subjects +name: Subjects +url_alias: subjects +weight: 1 +min_count: 1 +show_only_one_result: false +field_identifier: field_subjects +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: false + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: true +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_limit: + processor_id: count_limit + weights: + build: 50 + settings: + minimum_items: 1 + maximum_items: null + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true From faa94f224cff6b74ca0d16f35a99eb8dcd0b7015 Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Tue, 20 Aug 2019 17:27:20 -0300 Subject: [PATCH 02/10] added dependencies. --- composer.json | 3 ++- .../islandora_rdm_solr_config.info.yml | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) mode change 100755 => 100644 composer.json mode change 100755 => 100644 islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml diff --git a/composer.json b/composer.json old mode 100755 new mode 100644 index cc9b24b..b7fe979 --- a/composer.json +++ b/composer.json @@ -24,7 +24,8 @@ "drupal/field_permissions": "*", "drupal/entity_reference_revisions": "^1.6", "drupal/name": "1.x-dev", - "drupal/paragraphs": "~1.5" + "drupal/paragraphs": "~1.5", + "drupal/facets": "*" } } diff --git a/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml b/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml old mode 100755 new mode 100644 index af0ea9b..1ba334a --- a/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml +++ b/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml @@ -1,6 +1,9 @@ -name: 'Solr Config' +name: 'Islandora RDM Solr Config' type: module core: 8.x dependencies: + - block + - block_content + - facets - search_api_solr -package: 'Islandora RDM' +package: islandora_rdm From f53ff3780b93b7d806b85d2acbed943d2c261dff Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Wed, 21 Aug 2019 10:08:49 -0300 Subject: [PATCH 03/10] added views config. --- .../views.view.solr_search_content.yml | 231 ++++++++++++++++++ 1 file changed, 231 insertions(+) create mode 100644 islandora_rdm_solr_config/config/optional/views.view.solr_search_content.yml diff --git a/islandora_rdm_solr_config/config/optional/views.view.solr_search_content.yml b/islandora_rdm_solr_config/config/optional/views.view.solr_search_content.yml new file mode 100644 index 0000000..86b36ee --- /dev/null +++ b/islandora_rdm_solr_config/config/optional/views.view.solr_search_content.yml @@ -0,0 +1,231 @@ +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + module: + - search_api + - vefl + enforced: + module: + - islandora_rdm_solr_config +_core: + default_config_hash: WL4w5mZNKQaKr_LN6ix_lTtr-GqNDdB468D-WjlTtD0 +id: solr_search_content +label: 'Solr search content' +module: views +description: 'A search page preconfigured to search through the content of your site' +tag: '' +base_table: search_api_index_default_solr_index +base_field: search_api_id +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: none + options: { } + query: + type: search_api_query + options: { } + exposed_form: + type: vefl_basic + options: + submit_button: Search + reset_button: false + reset_button_label: Reset + exposed_sorts_label: Sort + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + layout: + layout_id: grid-4x4 + change: Change + widget_region: + search_api_fulltext: r1c1 + sort_by: r1c2 + sort_order: r1c3 + items_per_page: r2c1 + offset: r2c3 + submit: r2c4 + reset: r3c1 + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + tags: + previous: '‹ previous' + next: 'next ›' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + style: + type: default + row: + type: search_api + options: + view_modes: + 'entity:node': + article: search_result + funding_information: default + islandora_object: default + islandora_rdm_dataset: search_result + page: search_result + filters: + search_api_fulltext: + id: search_api_fulltext + table: search_api_index_default_solr_index + field: search_api_fulltext + relationship: none + group_type: group + admin_label: '' + operator: or + value: '' + group: 1 + exposed: true + expose: + operator_id: search_api_fulltext_op + label: Search + description: '' + use_operator: false + operator: search_api_fulltext_op + identifier: search_api_fulltext + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + fedoraadmin: '0' + placeholder: '' + is_grouped: false + group_info: + label: 'Fulltext search' + description: '' + identifier: search_api_fulltext + optional: false + widget: select + multiple: false + remember: true + default_group: All + default_group_multiple: { } + group_items: + 1: + title: '' + operator: or + value: '' + 2: + title: '' + operator: or + value: '' + 3: + title: '' + operator: or + value: '' + parse_mode: terms + min_length: 3 + fields: + - title + plugin_id: search_api_fulltext + sorts: + search_api_relevance: + id: search_api_relevance + table: search_api_index_default_solr_index + field: search_api_relevance + relationship: none + group_type: group + admin_label: '' + order: ASC + exposed: true + expose: + label: Relevance + plugin_id: search_api + title: + id: title + table: search_api_index_default_solr_index + field: title + relationship: none + group_type: group + admin_label: '' + order: ASC + exposed: true + expose: + label: Title + plugin_id: search_api + created: + id: created + table: search_api_index_default_solr_index + field: created + relationship: none + group_type: group + admin_label: '' + order: ASC + exposed: true + expose: + label: 'Authored on' + plugin_id: search_api + title: '' + header: + result: + id: result + table: views + field: result + relationship: none + group_type: group + admin_label: '' + empty: true + content: 'Displaying results @start - @end of @total' + plugin_id: result + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + contexts: + - 'languages:language_interface' + - url + - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' + cacheable: false + max-age: -1 + tags: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: solr-search/content + cache: + type: none + defaults: + cache: false + cache_metadata: + contexts: + - 'languages:language_interface' + - url + - url.query_args + - 'url.query_args:sort_by' + - 'url.query_args:sort_order' + cacheable: false + max-age: -1 + tags: { } From 1ef16a2b228f48c03fd9dec2bea6df170e0e8518 Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Wed, 21 Aug 2019 10:28:16 -0300 Subject: [PATCH 04/10] added enforced dependencies. --- .../block.block.licensetaxonomytermlicenselinklinktext.yml | 3 +++ .../config/optional/block.block.publicationyear.yml | 3 +++ .../config/optional/block.block.refinesearchby.yml | 3 +++ .../config/optional/block.block.resourcetypegeneral.yml | 3 +++ .../config/optional/block.block.subjects.yml | 3 +++ ...cets.facet.license_taxonomy_term_license_link_link_text.yml | 3 +++ .../config/optional/facets.facet.publication_year.yml | 3 +++ .../config/optional/facets.facet.resource_type_general_.yml | 3 +++ .../config/optional/facets.facet.subjects.yml | 3 +++ .../config/optional/search_api.index.default_solr_index.yml | 3 +++ .../config/optional/search_api.server.default_solr_server.yml | 3 +++ 11 files changed, 33 insertions(+) mode change 100755 => 100644 islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml mode change 100755 => 100644 islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml diff --git a/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml b/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml index 9e6a4d4..d17a659 100644 --- a/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml +++ b/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml @@ -7,6 +7,9 @@ dependencies: - facets theme: - carapace + enforced: + module: + - islandora_rdm_solr_config id: licensetaxonomytermlicenselinklinktext theme: carapace region: sidebar_first diff --git a/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml b/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml index de113c6..c1fb7e3 100644 --- a/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml +++ b/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml @@ -7,6 +7,9 @@ dependencies: - facets theme: - carapace + enforced: + module: + - islandora_rdm_solr_config id: publicationyear theme: carapace region: sidebar_first diff --git a/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml b/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml index 99916b2..cdddd20 100644 --- a/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml +++ b/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml @@ -7,6 +7,9 @@ dependencies: - block_content theme: - carapace + enforced: + module: + - islandora_rdm_solr_config id: refinesearchby theme: carapace region: sidebar_first diff --git a/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml b/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml index c0680b3..b1df379 100644 --- a/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml +++ b/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml @@ -7,6 +7,9 @@ dependencies: - facets theme: - carapace + enforced: + module: + - islandora_rdm_solr_config id: resourcetypegeneral theme: carapace region: sidebar_first diff --git a/islandora_rdm_solr_config/config/optional/block.block.subjects.yml b/islandora_rdm_solr_config/config/optional/block.block.subjects.yml index 81e39b6..a0b02c2 100644 --- a/islandora_rdm_solr_config/config/optional/block.block.subjects.yml +++ b/islandora_rdm_solr_config/config/optional/block.block.subjects.yml @@ -7,6 +7,9 @@ dependencies: - facets theme: - carapace + enforced: + module: + - islandora_rdm_solr_config id: subjects theme: carapace region: sidebar_first diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml b/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml index 292c952..a09987c 100644 --- a/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml +++ b/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml @@ -6,6 +6,9 @@ dependencies: - views.view.solr_search_content module: - search_api + enforced: + module: + - islandora_rdm_solr_config id: license_taxonomy_term_license_link_link_text name: License url_alias: license_taxonomy_term_license_link_link_text diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml b/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml index 9b7dcdc..066aff4 100644 --- a/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml +++ b/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml @@ -6,6 +6,9 @@ dependencies: - views.view.solr_search_content module: - search_api + enforced: + module: + - islandora_rdm_solr_config id: publication_year name: 'Publication Year' url_alias: publication_year diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml b/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml index c25e616..b32d5ea 100644 --- a/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml +++ b/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml @@ -6,6 +6,9 @@ dependencies: - views.view.solr_search_content module: - search_api + enforced: + module: + - islandora_rdm_solr_config id: resource_type_general_ name: 'Resource Type' url_alias: resource_type_general_ diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml b/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml index 2ae5c6d..161bdcd 100644 --- a/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml +++ b/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml @@ -6,6 +6,9 @@ dependencies: - views.view.solr_search_content module: - search_api + enforced: + module: + - islandora_rdm_solr_config id: subjects name: Subjects url_alias: subjects diff --git a/islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml b/islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml old mode 100755 new mode 100644 index 714e2b9..c761985 --- a/islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml +++ b/islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml @@ -15,6 +15,9 @@ dependencies: - field.storage.node.field_tags - search_api.server.default_solr_server - core.entity_view_mode.node.search_index + enforced: + module: + - islandora_rdm_solr_config third_party_settings: search_api_solr: finalize: false diff --git a/islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml b/islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml old mode 100755 new mode 100644 index 5d4227b..c4c3f54 --- a/islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml +++ b/islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml @@ -6,6 +6,9 @@ dependencies: - search_api_solr.solr_field_type.text_und_7_0_0 module: - search_api_solr + enforced: + module: + - islandora_rdm_solr_config id: default_solr_server name: 'Solr Server' description: 'Default Solr server created by the Solr Search Defaults module' From ef231978717cd7923d5d4ea9d5f550329e5e8b4d Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Wed, 21 Aug 2019 10:44:03 -0300 Subject: [PATCH 05/10] deleted install folder. --- .../field.storage.media.field_edited_text.yml | 22 -- .../install/search_api_solr.settings.yml | 3 - .../install/views.view.creator_search.yml | 305 ------------------ .../install/views.view.quick_search.yml | 305 ------------------ 4 files changed, 635 deletions(-) delete mode 100644 islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml delete mode 100755 islandora_rdm_solr_config/config/install/search_api_solr.settings.yml delete mode 100644 islandora_rdm_solr_config/config/install/views.view.creator_search.yml delete mode 100644 islandora_rdm_solr_config/config/install/views.view.quick_search.yml diff --git a/islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml b/islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml deleted file mode 100644 index ce14503..0000000 --- a/islandora_rdm_solr_config/config/install/field.storage.media.field_edited_text.yml +++ /dev/null @@ -1,22 +0,0 @@ -langcode: en -status: true -dependencies: - module: - - field_permissions - - media - - text -third_party_settings: - field_permissions: - permission_type: public -id: media.field_edited_text -field_name: field_edited_text -entity_type: media -type: text_long -settings: { } -module: text -locked: false -cardinality: 1 -translatable: true -indexes: { } -persist_with_no_fields: false -custom_storage: false diff --git a/islandora_rdm_solr_config/config/install/search_api_solr.settings.yml b/islandora_rdm_solr_config/config/install/search_api_solr.settings.yml deleted file mode 100755 index 6ebe37c..0000000 --- a/islandora_rdm_solr_config/config/install/search_api_solr.settings.yml +++ /dev/null @@ -1,3 +0,0 @@ -last_optimize: 0 -cron_action: spellcheck -site_hash: nnu4k6 diff --git a/islandora_rdm_solr_config/config/install/views.view.creator_search.yml b/islandora_rdm_solr_config/config/install/views.view.creator_search.yml deleted file mode 100644 index 1cb5e3c..0000000 --- a/islandora_rdm_solr_config/config/install/views.view.creator_search.yml +++ /dev/null @@ -1,305 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - module: - - search_api -id: creator_search -label: 'Creator Search' -module: views -description: '' -tag: '' -base_table: search_api_index_default_solr_index -base_field: search_api_id -core: 8.x -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: none - options: { } - cache: - type: tag - options: { } - query: - type: views_query - options: - bypass_access: false - skip_access: false - preserve_facet_query_args: false - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - tags: - previous: ‹‹ - next: ›› - style: - type: default - row: - type: fields - fields: - author: - table: search_api_index_default_solr_index - field: author - id: author - entity_type: null - entity_field: null - plugin_id: search_api_field - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: { } - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - field_rendering: true - fallback_handler: search_api - fallback_options: - link_to_item: false - use_highlighting: false - multi_type: separator - multi_separator: ', ' - title: - id: title - table: search_api_datasource_default_solr_index_entity_node - field: title - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - field_rendering: true - fallback_handler: search_api - fallback_options: - link_to_item: false - use_highlighting: false - multi_type: separator - multi_separator: ', ' - entity_type: node - plugin_id: search_api_field - filters: - field_rdm_personal_name: - id: field_rdm_personal_name - table: search_api_index_default_solr_index - field: field_rdm_personal_name - relationship: none - group_type: group - admin_label: '' - operator: '=' - value: - min: '' - max: '' - value: '' - group: 1 - exposed: true - expose: - operator_id: field_rdm_personal_name_op - label: Creator - description: '' - use_operator: false - operator: field_rdm_personal_name_op - identifier: field_rdm_personal_name - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - fedoraadmin: '0' - islandora_rdm_metadata_curator: '0' - islandora_rdm_data_curator: '0' - islandora_rdm_data_creator: '0' - placeholder: 'Creator name' - min_placeholder: '' - max_placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: search_api_text - sorts: { } - title: 'Quick Search' - header: { } - footer: { } - empty: { } - relationships: { } - arguments: { } - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - tags: { } - block_1: - display_plugin: block - id: block_1 - display_title: Block - position: 2 - display_options: - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - tags: { } - page_1: - display_plugin: page - id: page_1 - display_title: Page - position: 1 - display_options: - display_extenders: { } - path: quick-search - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - tags: { } diff --git a/islandora_rdm_solr_config/config/install/views.view.quick_search.yml b/islandora_rdm_solr_config/config/install/views.view.quick_search.yml deleted file mode 100644 index ce162fb..0000000 --- a/islandora_rdm_solr_config/config/install/views.view.quick_search.yml +++ /dev/null @@ -1,305 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - module: - - search_api -id: quick_search -label: 'Quick Search' -module: views -description: '' -tag: '' -base_table: search_api_index_default_solr_index -base_field: search_api_id -core: 8.x -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: none - options: { } - cache: - type: tag - options: { } - query: - type: views_query - options: - bypass_access: false - skip_access: false - preserve_facet_query_args: false - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - tags: - previous: ‹‹ - next: ›› - style: - type: default - row: - type: fields - fields: - author: - table: search_api_index_default_solr_index - field: author - id: author - entity_type: null - entity_field: null - plugin_id: search_api_field - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: { } - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - field_rendering: true - fallback_handler: search_api - fallback_options: - link_to_item: false - use_highlighting: false - multi_type: separator - multi_separator: ', ' - title: - id: title - table: search_api_datasource_default_solr_index_entity_node - field: title - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - field_rendering: true - fallback_handler: search_api - fallback_options: - link_to_item: false - use_highlighting: false - multi_type: separator - multi_separator: ', ' - entity_type: node - plugin_id: search_api_field - filters: - field_rdm_personal_name: - id: field_rdm_personal_name - table: search_api_index_default_solr_index - field: field_rdm_personal_name - relationship: none - group_type: group - admin_label: '' - operator: '=' - value: - min: '' - max: '' - value: '' - group: 1 - exposed: true - expose: - operator_id: field_rdm_personal_name_op - label: 'Creator » Paragraph » Personal Name' - description: '' - use_operator: false - operator: field_rdm_personal_name_op - identifier: field_rdm_personal_name - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - fedoraadmin: '0' - islandora_rdm_metadata_curator: '0' - islandora_rdm_data_curator: '0' - islandora_rdm_data_creator: '0' - placeholder: '' - min_placeholder: '' - max_placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: search_api_text - sorts: { } - title: 'Quick Search' - header: { } - footer: { } - empty: { } - relationships: { } - arguments: { } - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - tags: { } - block_1: - display_plugin: block - id: block_1 - display_title: Block - position: 2 - display_options: - display_extenders: { } - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - tags: { } - page_1: - display_plugin: page - id: page_1 - display_title: Page - position: 1 - display_options: - display_extenders: { } - path: quick-search - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - tags: { } From 13bb6eb84f0430f5761a775fb707f9553d596c3c Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Wed, 21 Aug 2019 11:55:15 -0300 Subject: [PATCH 06/10] re-add missing search files. --- css/search-result.css | 53 +++++++++++++++++++ islandora_rdm.libraries.yml | 5 ++ .../islandora_rdm_solr_config.features.yml | 3 ++ ...ndora-rdm-dataset--search-result.html.twig | 14 ++--- 4 files changed, 68 insertions(+), 7 deletions(-) create mode 100644 css/search-result.css create mode 100644 islandora_rdm.libraries.yml diff --git a/css/search-result.css b/css/search-result.css new file mode 100644 index 0000000..88497e4 --- /dev/null +++ b/css/search-result.css @@ -0,0 +1,53 @@ +/* + Created on : Aug 5, 2019, 2:41:36 PM + Author : Mengyu Zang +*/ + +/* + Search results +*/ +.rdm-dataset-search-result-title { + font-weight: bold; + font-size: 1.4em; +} + +.label { + color: white; + padding: 0.2em; + font-size: 0.8em; +} + +.search-result-subject { + font-weight: bold; + background-color: #696969; +} + +.search-result-created-date { + color: black; + float: right; +} +.search-result-license-image { + height: 18.5px; + padding-left: 4px; +} + +/* + Facets +*/ +.block__title { + font-size: 1.2em; + font-weight: bold; + color: #a52a2a; +} +.facet-item__value { + font-size: 1em; +} +.facet-item__count { + font-size: 1em; +} +.field__item { + font-weight: bold; +} +.facets-widget-checkbox label { + display: inline-block; +} diff --git a/islandora_rdm.libraries.yml b/islandora_rdm.libraries.yml new file mode 100644 index 0000000..eaa87b9 --- /dev/null +++ b/islandora_rdm.libraries.yml @@ -0,0 +1,5 @@ +search: + version: 1.0 + css: + layout: + css/search-result.css: {} \ No newline at end of file diff --git a/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml b/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml index 7ddbeae..366e148 100755 --- a/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml +++ b/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml @@ -1,2 +1,5 @@ bundle: islandora_rdm +excluded: + - search_api.index.default_solr_index + - search_api.server.default_solr_server required: true diff --git a/templates/node--islandora-rdm-dataset--search-result.html.twig b/templates/node--islandora-rdm-dataset--search-result.html.twig index f47cb30..6fcc405 100755 --- a/templates/node--islandora-rdm-dataset--search-result.html.twig +++ b/templates/node--islandora-rdm-dataset--search-result.html.twig @@ -1,6 +1,7 @@ -{% set created_date = node.getCreatedTime|format_date('umami_dates') %} -{{ attach_library('classy/node') }} {# apply classy theme to node} +{% set created_date = node.getCreatedTime|date("Y/m/d") %} +{{ attach_library('classy/node') }} {# apply classy theme to node#} +{{ attach_library('islandora_rdm/search') }} {# attach the library declared in the .libraries.yml file to the page when a search result is displayed.#} {# Format Creator (PublicationYear): Title. Publisher. (resourceTypeGeneral). Identifier #}

@@ -9,13 +10,12 @@ {{- label -}}. {{ node.field_rdm_publisher.0.entity.field_rdm_organization_name.value }}. {{ node.field_rdm_resource_type_general.value }}. - {{ node.field_islandora_rdm_identifier.value }}

+ {{ "https://doi.org/"}}{{ node.field_islandora_rdm_identifier.value }}

{{ rdm_abstract }}

- -

{{ node.field_subjects.value }} - {{ node.field_rights.value }} - {{ created_date }}

+

{{ node.field_subjects.value }} + access right + {{"Uploaded on "}}{{created_date }}

From 0d7aeeeba12333c645da1e70313d4f7c7841a147 Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Wed, 21 Aug 2019 13:37:11 -0300 Subject: [PATCH 07/10] added vefl to composer.json. --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b7fe979..4fd0bb1 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,8 @@ "drupal/entity_reference_revisions": "^1.6", "drupal/name": "1.x-dev", "drupal/paragraphs": "~1.5", - "drupal/facets": "*" + "drupal/facets": "*", + "drupal/vefl": "*" } } From 71a95e00fbd04e2dca25d291900e32c5af5a457d Mon Sep 17 00:00:00 2001 From: Mengyu Zang Date: Wed, 21 Aug 2019 13:38:23 -0300 Subject: [PATCH 08/10] added vefl to config. --- islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml b/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml index 1ba334a..ade5b4e 100644 --- a/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml +++ b/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml @@ -6,4 +6,5 @@ dependencies: - block_content - facets - search_api_solr + - vefl package: islandora_rdm From 6b1608facec87dac6417e11f6b84d0fc5b89fab8 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Wed, 21 Aug 2019 18:19:14 -0300 Subject: [PATCH 09/10] WIP --- composer.json | 1 + .../optional/views.view.rdm_manage_media.yml | 1289 ----------------- .../views.view.rdm_solr_search_content.yml | 164 --- ...licensetaxonomytermlicenselinklinktext.yml | 0 .../block.block.publicationyear.yml | 0 .../block.block.refinesearchby.yml | 0 .../block.block.resourcetypegeneral.yml | 0 .../block.block.subjects.yml | 0 ...e_taxonomy_term_license_link_link_text.yml | 0 .../facets.facet.publication_year.yml | 0 .../facets.facet.resource_type_general_.yml | 0 .../facets.facet.subjects.yml | 0 .../search_api.index.default_solr_index.yml | 0 .../search_api.server.default_solr_server.yml | 0 .../views.view.solr_search_content.yml | 0 .../islandora_rdm_solr_config.info.yml | 1 + 16 files changed, 2 insertions(+), 1453 deletions(-) delete mode 100644 config/optional/views.view.rdm_manage_media.yml delete mode 100644 config/optional/views.view.rdm_solr_search_content.yml rename islandora_rdm_solr_config/config/{optional => install}/block.block.licensetaxonomytermlicenselinklinktext.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/block.block.publicationyear.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/block.block.refinesearchby.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/block.block.resourcetypegeneral.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/block.block.subjects.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/facets.facet.license_taxonomy_term_license_link_link_text.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/facets.facet.publication_year.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/facets.facet.resource_type_general_.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/facets.facet.subjects.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/search_api.index.default_solr_index.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/search_api.server.default_solr_server.yml (100%) rename islandora_rdm_solr_config/config/{optional => install}/views.view.solr_search_content.yml (100%) diff --git a/composer.json b/composer.json index 4fd0bb1..3713e79 100644 --- a/composer.json +++ b/composer.json @@ -23,6 +23,7 @@ "islandora/controlled_access_terms": "*", "drupal/field_permissions": "*", "drupal/entity_reference_revisions": "^1.6", + "drupal/media_attribution": "*", "drupal/name": "1.x-dev", "drupal/paragraphs": "~1.5", "drupal/facets": "*", diff --git a/config/optional/views.view.rdm_manage_media.yml b/config/optional/views.view.rdm_manage_media.yml deleted file mode 100644 index b55b709..0000000 --- a/config/optional/views.view.rdm_manage_media.yml +++ /dev/null @@ -1,1289 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - field.storage.media.field_media_use - - field.storage.media.field_mime_type - enforced: - module: - - islandora_core_feature - module: - - islandora_riprap - - jsonld - - media - - rest - - serialization - - user -_core: - default_config_hash: ulZTEi1E-dZLYvDO8Dz2WPOTVb-e3D4Qsl89px1PaSk -id: rdm_manage_media -label: 'RDM Manage media' -module: views -description: 'Manage media belonging to a piece of content' -tag: '' -base_table: media_field_data -base_field: mid -core: 8.x -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: perm - options: - perm: 'manage media' - cache: - type: none - options: { } - query: - type: views_query - options: - disable_sql_rewrite: false - distinct: false - replica: false - query_comment: '' - query_tags: { } - exposed_form: - type: basic - options: - submit_button: Apply - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - tags: - previous: ‹‹ - next: ›› - style: - type: table - options: - grouping: { } - row_class: '' - default_row_class: true - override: true - sticky: false - caption: '' - summary: '' - description: '' - columns: - media_bulk_form: media_bulk_form - name: name - bundle: bundle - field_media_model: field_media_model - field_mime_type: field_mime_type - changed: changed - operations: operations - info: - media_bulk_form: - align: '' - separator: '' - empty_column: false - responsive: '' - name: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - bundle: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - field_media_model: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - field_mime_type: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - changed: - sortable: true - default_sort_order: asc - align: '' - separator: '' - empty_column: false - responsive: '' - operations: - align: '' - separator: '' - empty_column: false - responsive: '' - default: field_media_model - empty_table: false - row: - type: fields - options: - default_field_elements: true - inline: { } - separator: '' - hide_empty: false - fields: - name: - id: name - table: media_field_data - field: name - relationship: none - group_type: group - admin_label: '' - label: Name - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: false - ellipsis: false - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: media - plugin_id: field - bundle: - id: bundle - table: media_field_data - field: bundle - relationship: none - group_type: group - admin_label: '' - label: 'Media type' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: target_id - type: entity_reference_label - settings: - link: true - group_column: target_id - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: bundle - plugin_id: field - field_mime_type: - id: field_mime_type - table: media__field_mime_type - field: field_mime_type - relationship: none - group_type: group - admin_label: '' - label: 'MIME type' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - plugin_id: field - changed: - id: changed - table: media_field_data - field: changed - relationship: none - group_type: group - admin_label: '' - label: Changed - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: timestamp - settings: - date_format: medium - custom_date_format: '' - timezone: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: changed - plugin_id: field - media_bulk_form: - id: media_bulk_form - table: media - field: media_bulk_form - entity_type: media - plugin_id: bulk_form - operations: - id: operations - table: media - field: operations - entity_type: media - plugin_id: entity_operations - filters: { } - sorts: { } - title: 'Manage Media' - header: { } - footer: { } - empty: { } - relationships: { } - arguments: - field_media_of_target_id: - id: field_media_of_target_id - table: media__field_media_of - field: field_media_of_target_id - relationship: none - group_type: group - admin_label: '' - default_action: default - exception: - value: all - title_enable: false - title: All - title_enable: false - title: '' - default_argument_type: node - default_argument_options: { } - default_argument_skip_url: false - summary_options: - base_path: '' - count: true - items_per_page: 25 - override: false - summary: - sort_order: asc - number_of_records: 0 - format: default_summary - specify_validation: true - validate: - type: 'entity:node' - fail: 'not found' - validate_options: - operation: view - multiple: 0 - bundles: { } - access: false - break_phrase: false - not: false - plugin_id: numeric - display_extenders: { } - filter_groups: - operator: AND - groups: { } - cache_metadata: - max-age: 0 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user.permissions - tags: - - 'config:field.storage.media.field_mime_type' - - extensions - page_1: - display_plugin: page - id: page_1 - display_title: Page - position: 1 - display_options: - display_extenders: - doc_serialization: { } - path: node/%node/media - menu: - type: tab - title: Media - description: 'Lists all media belonging to this content' - expanded: false - parent: '' - weight: 0 - context: '0' - menu_name: main - fields: - media_bulk_form: - id: media_bulk_form - table: media - field: media_bulk_form - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - action_title: Action - include_exclude: exclude - selected_actions: { } - entity_type: media - plugin_id: bulk_form - name: - id: name - table: media_field_data - field: name - relationship: none - group_type: group - admin_label: '' - label: Name - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: false - ellipsis: false - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: true - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: media - plugin_id: field - bundle: - id: bundle - table: media_field_data - field: bundle - relationship: none - group_type: group - admin_label: '' - label: 'Media type' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: target_id - type: entity_reference_label - settings: - link: true - group_column: target_id - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: bundle - plugin_id: field - field_mime_type: - id: field_mime_type - table: media__field_mime_type - field: field_mime_type - relationship: none - group_type: group - admin_label: '' - label: 'MIME type' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - plugin_id: field - field_media_use: - id: field_media_use - table: media__field_media_use - field: field_media_use - relationship: none - group_type: group - admin_label: '' - label: 'Media Use' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: target_id - type: entity_reference_label - settings: - link: true - group_column: target_id - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - plugin_id: field - changed: - id: changed - table: media_field_data - field: changed - relationship: none - group_type: group - admin_label: '' - label: Changed - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: timestamp - settings: - date_format: medium - custom_date_format: '' - timezone: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: changed - plugin_id: field - operations: - id: operations - table: media - field: operations - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - destination: false - entity_type: media - plugin_id: entity_operations - riprap_results: - id: riprap_results - table: media - field: riprap_results - relationship: none - group_type: group - admin_label: '' - label: 'Fixity auditing' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - entity_type: media - plugin_id: riprap_results - defaults: - fields: false - cache_metadata: - max-age: 0 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - url - - url.query_args - - user.permissions - tags: - - 'config:field.storage.media.field_media_use' - - 'config:field.storage.media.field_mime_type' - - extensions - rest_export_1: - display_plugin: rest_export - id: rest_export_1 - display_title: 'REST export' - position: 1 - display_options: - display_extenders: { } - path: node/%node/media - auth: - - basic_auth - - jwt_auth - - cookie - style: - type: serializer - options: - uses_fields: false - formats: - jsonld: jsonld - json: json - row: - type: data_entity - options: { } - fields: - name: - id: name - table: media_field_data - field: name - relationship: none - group_type: group - admin_label: '' - label: Name - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: false - ellipsis: false - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: media - plugin_id: field - bundle: - id: bundle - table: media_field_data - field: bundle - relationship: none - group_type: group - admin_label: '' - label: '' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: false - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: target_id - type: entity_reference_entity_id - settings: { } - group_column: target_id - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: bundle - plugin_id: field - field_mime_type: - id: field_mime_type - table: media__field_mime_type - field: field_mime_type - relationship: none - group_type: group - admin_label: '' - label: 'MIME type' - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: string - settings: - link_to_entity: false - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - plugin_id: field - changed: - id: changed - table: media_field_data - field: changed - relationship: none - group_type: group - admin_label: '' - label: Changed - exclude: false - alter: - alter_text: false - text: '' - make_link: false - path: '' - absolute: false - external: false - replace_spaces: false - path_case: none - trim_whitespace: false - alt: '' - rel: '' - link_class: '' - prefix: '' - suffix: '' - target: '' - nl2br: false - max_length: 0 - word_boundary: true - ellipsis: true - more_link: false - more_link_text: '' - more_link_path: '' - strip_tags: false - trim: false - preserve_tags: '' - html: false - element_type: '' - element_class: '' - element_label_type: '' - element_label_class: '' - element_label_colon: true - element_wrapper_type: '' - element_wrapper_class: '' - element_default_classes: true - empty: '' - hide_empty: false - empty_zero: false - hide_alter_empty: true - click_sort_column: value - type: timestamp - settings: - date_format: medium - custom_date_format: '' - timezone: '' - group_column: value - group_columns: { } - group_rows: true - delta_limit: 0 - delta_offset: 0 - delta_reversed: false - delta_first_last: false - multi_type: separator - separator: ', ' - field_api_classes: false - entity_type: media - entity_field: changed - plugin_id: field - defaults: - fields: false - cache_metadata: - max-age: -1 - contexts: - - 'languages:language_content' - - 'languages:language_interface' - - request_format - - url - - user.permissions - tags: - - 'config:field.storage.media.field_mime_type' - - extensions diff --git a/config/optional/views.view.rdm_solr_search_content.yml b/config/optional/views.view.rdm_solr_search_content.yml deleted file mode 100644 index 194567c..0000000 --- a/config/optional/views.view.rdm_solr_search_content.yml +++ /dev/null @@ -1,164 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - module: - - search_api -_core: - default_config_hash: HOLKQFo9Gxd0-FHu9o5XZeZbGOFMmJpFCwDguu0nGgI -id: rdm_solr_search_content -label: 'RDM Solr search content' -module: views -description: 'An unfiltered search page configured to search through the content of your site' -tag: '' -base_table: search_api_index_default_solr_index -base_field: search_api_id -core: 8.x -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: none - options: { } - cache: - type: none - options: { } - query: - type: search_api_query - options: { } - exposed_form: - type: input_required - options: - submit_button: Search - reset_button: false - reset_button_label: Reset - exposed_sorts_label: 'Sort by' - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - text_input_required: 'Please enter some keywords to search.' - text_input_required_format: basic_html - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - tags: - previous: '‹ previous' - next: 'next ›' - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - style: - type: default - row: - type: search_api - options: - view_modes: - 'entity:node': - article: search_result - islandora_object: teaser - page: search_result - filters: - search_api_fulltext: - id: search_api_fulltext - table: search_api_index_default_solr_index - field: search_api_fulltext - relationship: none - group_type: group - admin_label: '' - operator: or - value: '' - group: 1 - exposed: true - expose: - operator_id: search_api_fulltext_op - label: 'Fulltext search' - description: '' - use_operator: false - operator: search_api_fulltext_op - identifier: search_api_fulltext - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - fedoraadmin: '0' - placeholder: '' - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - parse_mode: terms - min_length: null - fields: { } - plugin_id: search_api_fulltext - sorts: { } - title: 'Search Content' - header: - result: - id: result - table: views - field: result - relationship: none - group_type: group - admin_label: '' - empty: false - content: 'Displaying results @start - @end of @total' - plugin_id: result - footer: { } - empty: { } - relationships: { } - arguments: { } - display_extenders: { } - filter_groups: - operator: AND - groups: - 1: AND - cache_metadata: - contexts: - - 'languages:language_interface' - - url - - url.query_args - cacheable: false - max-age: -1 - tags: { } - page_1: - display_plugin: page - id: page_1 - display_title: Page - position: 1 - display_options: - display_extenders: { } - path: solr-search/content - exposed_block: true - cache_metadata: - contexts: - - 'languages:language_interface' - - url - - url.query_args - cacheable: false - max-age: -1 - tags: { } diff --git a/islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml b/islandora_rdm_solr_config/config/install/block.block.licensetaxonomytermlicenselinklinktext.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/block.block.licensetaxonomytermlicenselinklinktext.yml rename to islandora_rdm_solr_config/config/install/block.block.licensetaxonomytermlicenselinklinktext.yml diff --git a/islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml b/islandora_rdm_solr_config/config/install/block.block.publicationyear.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/block.block.publicationyear.yml rename to islandora_rdm_solr_config/config/install/block.block.publicationyear.yml diff --git a/islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml b/islandora_rdm_solr_config/config/install/block.block.refinesearchby.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/block.block.refinesearchby.yml rename to islandora_rdm_solr_config/config/install/block.block.refinesearchby.yml diff --git a/islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml b/islandora_rdm_solr_config/config/install/block.block.resourcetypegeneral.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/block.block.resourcetypegeneral.yml rename to islandora_rdm_solr_config/config/install/block.block.resourcetypegeneral.yml diff --git a/islandora_rdm_solr_config/config/optional/block.block.subjects.yml b/islandora_rdm_solr_config/config/install/block.block.subjects.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/block.block.subjects.yml rename to islandora_rdm_solr_config/config/install/block.block.subjects.yml diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml b/islandora_rdm_solr_config/config/install/facets.facet.license_taxonomy_term_license_link_link_text.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/facets.facet.license_taxonomy_term_license_link_link_text.yml rename to islandora_rdm_solr_config/config/install/facets.facet.license_taxonomy_term_license_link_link_text.yml diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml b/islandora_rdm_solr_config/config/install/facets.facet.publication_year.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/facets.facet.publication_year.yml rename to islandora_rdm_solr_config/config/install/facets.facet.publication_year.yml diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml b/islandora_rdm_solr_config/config/install/facets.facet.resource_type_general_.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/facets.facet.resource_type_general_.yml rename to islandora_rdm_solr_config/config/install/facets.facet.resource_type_general_.yml diff --git a/islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml b/islandora_rdm_solr_config/config/install/facets.facet.subjects.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/facets.facet.subjects.yml rename to islandora_rdm_solr_config/config/install/facets.facet.subjects.yml diff --git a/islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml b/islandora_rdm_solr_config/config/install/search_api.index.default_solr_index.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/search_api.index.default_solr_index.yml rename to islandora_rdm_solr_config/config/install/search_api.index.default_solr_index.yml diff --git a/islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml b/islandora_rdm_solr_config/config/install/search_api.server.default_solr_server.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/search_api.server.default_solr_server.yml rename to islandora_rdm_solr_config/config/install/search_api.server.default_solr_server.yml diff --git a/islandora_rdm_solr_config/config/optional/views.view.solr_search_content.yml b/islandora_rdm_solr_config/config/install/views.view.solr_search_content.yml similarity index 100% rename from islandora_rdm_solr_config/config/optional/views.view.solr_search_content.yml rename to islandora_rdm_solr_config/config/install/views.view.solr_search_content.yml diff --git a/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml b/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml index ade5b4e..75be429 100644 --- a/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml +++ b/islandora_rdm_solr_config/islandora_rdm_solr_config.info.yml @@ -6,5 +6,6 @@ dependencies: - block_content - facets - search_api_solr + - media_attribution - vefl package: islandora_rdm From c51f5c6dc20434f6e0f215e1194d542f1e511c88 Mon Sep 17 00:00:00 2001 From: Alexander O'Neill Date: Fri, 23 Aug 2019 03:14:33 +0000 Subject: [PATCH 10/10] Derive serarch settings from search_api_solr_defaults --- .../config/install/block.block.license.yml | 23 + ...licensetaxonomytermlicenselinklinktext.yml | 25 -- .../install/block.block.publicationyear.yml | 48 +-- .../install/block.block.refinesearchby.yml | 27 -- .../block.block.resourcetypegeneral.yml | 25 -- .../config/install/block.block.subjects.yml | 48 +-- ...link_text.yml => facets.facet.license.yml} | 135 +++--- .../install/facets.facet.publication_year.yml | 135 +++--- .../facets.facet.resource_type_general_.yml | 72 ---- .../config/install/facets.facet.subjects.yml | 135 +++--- .../search_api.index.default_solr_index.yml | 104 ++--- .../search_api.server.default_solr_server.yml | 37 -- .../views.view.solr_search_content.yml | 396 ++++++++---------- .../islandora_rdm_solr_config.features.yml | 5 - 14 files changed, 457 insertions(+), 758 deletions(-) create mode 100644 islandora_rdm_solr_config/config/install/block.block.license.yml delete mode 100644 islandora_rdm_solr_config/config/install/block.block.licensetaxonomytermlicenselinklinktext.yml delete mode 100644 islandora_rdm_solr_config/config/install/block.block.refinesearchby.yml delete mode 100644 islandora_rdm_solr_config/config/install/block.block.resourcetypegeneral.yml rename islandora_rdm_solr_config/config/install/{facets.facet.license_taxonomy_term_license_link_link_text.yml => facets.facet.license.yml} (74%) delete mode 100644 islandora_rdm_solr_config/config/install/facets.facet.resource_type_general_.yml delete mode 100644 islandora_rdm_solr_config/config/install/search_api.server.default_solr_server.yml delete mode 100755 islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml diff --git a/islandora_rdm_solr_config/config/install/block.block.license.yml b/islandora_rdm_solr_config/config/install/block.block.license.yml new file mode 100644 index 0000000..a9e0fc6 --- /dev/null +++ b/islandora_rdm_solr_config/config/install/block.block.license.yml @@ -0,0 +1,23 @@ +langcode: en +status: true +dependencies: + config: + - facets.facet.license + module: + - facets + theme: + - carapace +id: license +theme: carapace +region: sidebar_first +weight: 0 +provider: null +plugin: 'facet_block:license' +settings: + id: 'facet_block:license' + label: License + provider: facets + label_display: '0' + block_id: license +visibility: { } + diff --git a/islandora_rdm_solr_config/config/install/block.block.licensetaxonomytermlicenselinklinktext.yml b/islandora_rdm_solr_config/config/install/block.block.licensetaxonomytermlicenselinklinktext.yml deleted file mode 100644 index d17a659..0000000 --- a/islandora_rdm_solr_config/config/install/block.block.licensetaxonomytermlicenselinklinktext.yml +++ /dev/null @@ -1,25 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - facets.facet.license_taxonomy_term_license_link_link_text - module: - - facets - theme: - - carapace - enforced: - module: - - islandora_rdm_solr_config -id: licensetaxonomytermlicenselinklinktext -theme: carapace -region: sidebar_first -weight: 6 -provider: null -plugin: 'facet_block:license_taxonomy_term_license_link_link_text' -settings: - id: 'facet_block:license_taxonomy_term_license_link_link_text' - label: License - provider: facets - label_display: '0' - block_id: licensetaxonomytermlicenselinklinktext -visibility: { } diff --git a/islandora_rdm_solr_config/config/install/block.block.publicationyear.yml b/islandora_rdm_solr_config/config/install/block.block.publicationyear.yml index c1fb7e3..9324d08 100644 --- a/islandora_rdm_solr_config/config/install/block.block.publicationyear.yml +++ b/islandora_rdm_solr_config/config/install/block.block.publicationyear.yml @@ -1,25 +1,23 @@ -langcode: en -status: true -dependencies: - config: - - facets.facet.publication_year - module: - - facets - theme: - - carapace - enforced: - module: - - islandora_rdm_solr_config -id: publicationyear -theme: carapace -region: sidebar_first -weight: 3 -provider: null -plugin: 'facet_block:publication_year' -settings: - id: 'facet_block:publication_year' - label: 'Publication Year' - provider: facets - label_display: '0' - block_id: publicationyear -visibility: { } +langcode: en +status: true +dependencies: + config: + - facets.facet.publication_year + module: + - facets + theme: + - carapace +id: publicationyear +theme: carapace +region: sidebar_first +weight: 0 +provider: null +plugin: 'facet_block:publication_year' +settings: + id: 'facet_block:publication_year' + label: 'Publication Year' + provider: facets + label_display: '0' + block_id: publicationyear +visibility: { } + diff --git a/islandora_rdm_solr_config/config/install/block.block.refinesearchby.yml b/islandora_rdm_solr_config/config/install/block.block.refinesearchby.yml deleted file mode 100644 index cdddd20..0000000 --- a/islandora_rdm_solr_config/config/install/block.block.refinesearchby.yml +++ /dev/null @@ -1,27 +0,0 @@ -langcode: en -status: true -dependencies: - content: - - 'block_content:basic:5b545da2-17a8-4bb7-91ee-1362809ca948' - module: - - block_content - theme: - - carapace - enforced: - module: - - islandora_rdm_solr_config -id: refinesearchby -theme: carapace -region: sidebar_first -weight: 1 -provider: null -plugin: 'block_content:5b545da2-17a8-4bb7-91ee-1362809ca948' -settings: - id: 'block_content:5b545da2-17a8-4bb7-91ee-1362809ca948' - label: 'Refine Search By:' - provider: block_content - label_display: '0' - status: true - info: '' - view_mode: full -visibility: { } diff --git a/islandora_rdm_solr_config/config/install/block.block.resourcetypegeneral.yml b/islandora_rdm_solr_config/config/install/block.block.resourcetypegeneral.yml deleted file mode 100644 index b1df379..0000000 --- a/islandora_rdm_solr_config/config/install/block.block.resourcetypegeneral.yml +++ /dev/null @@ -1,25 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - facets.facet.resource_type_general_ - module: - - facets - theme: - - carapace - enforced: - module: - - islandora_rdm_solr_config -id: resourcetypegeneral -theme: carapace -region: sidebar_first -weight: 2 -provider: null -plugin: 'facet_block:resource_type_general_' -settings: - id: 'facet_block:resource_type_general_' - label: 'Resource Type' - provider: facets - label_display: '0' - block_id: resourcetypegeneral -visibility: { } diff --git a/islandora_rdm_solr_config/config/install/block.block.subjects.yml b/islandora_rdm_solr_config/config/install/block.block.subjects.yml index a0b02c2..1b6a5ac 100644 --- a/islandora_rdm_solr_config/config/install/block.block.subjects.yml +++ b/islandora_rdm_solr_config/config/install/block.block.subjects.yml @@ -1,25 +1,23 @@ -langcode: en -status: true -dependencies: - config: - - facets.facet.subjects - module: - - facets - theme: - - carapace - enforced: - module: - - islandora_rdm_solr_config -id: subjects -theme: carapace -region: sidebar_first -weight: 4 -provider: null -plugin: 'facet_block:subjects' -settings: - id: 'facet_block:subjects' - label: Subjects - provider: facets - label_display: '0' - block_id: subjects -visibility: { } +langcode: en +status: true +dependencies: + config: + - facets.facet.subjects + module: + - facets + theme: + - carapace +id: subjects +theme: carapace +region: sidebar_first +weight: 0 +provider: null +plugin: 'facet_block:subjects' +settings: + id: 'facet_block:subjects' + label: Subjects + provider: facets + label_display: '0' + block_id: subjects +visibility: { } + diff --git a/islandora_rdm_solr_config/config/install/facets.facet.license_taxonomy_term_license_link_link_text.yml b/islandora_rdm_solr_config/config/install/facets.facet.license.yml similarity index 74% rename from islandora_rdm_solr_config/config/install/facets.facet.license_taxonomy_term_license_link_link_text.yml rename to islandora_rdm_solr_config/config/install/facets.facet.license.yml index a09987c..8ab46e3 100644 --- a/islandora_rdm_solr_config/config/install/facets.facet.license_taxonomy_term_license_link_link_text.yml +++ b/islandora_rdm_solr_config/config/install/facets.facet.license.yml @@ -1,72 +1,63 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - - views.view.solr_search_content - module: - - search_api - enforced: - module: - - islandora_rdm_solr_config -id: license_taxonomy_term_license_link_link_text -name: License -url_alias: license_taxonomy_term_license_link_link_text -weight: 1 -min_count: 1 -show_only_one_result: false -field_identifier: title_1 -facet_source_id: 'search_api:views_page__solr_search_content__page_1' -widget: - type: checkbox - config: - show_numbers: true - soft_limit: 0 - soft_limit_settings: - show_less_label: 'Show less' - show_more_label: 'Show more' - show_reset_link: false - reset_text: 'Show all' - hide_reset_when_no_selection: false -query_operator: or -use_hierarchy: false -expand_hierarchy: false -enable_parent_when_child_gets_disabled: true -hard_limit: 0 -exclude: false -only_visible_when_facet_source_is_visible: true -processor_configs: - active_widget_order: - processor_id: active_widget_order - weights: - sort: 20 - settings: - sort: DESC - count_limit: - processor_id: count_limit - weights: - build: 50 - settings: - minimum_items: 1 - maximum_items: null - count_widget_order: - processor_id: count_widget_order - weights: - sort: 30 - settings: - sort: DESC - display_value_widget_order: - processor_id: display_value_widget_order - weights: - sort: 40 - settings: - sort: ASC - url_processor_handler: - processor_id: url_processor_handler - weights: - pre_query: 50 - build: 15 - settings: { } -empty_behavior: - behavior: none -show_title: true +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: license +name: License +url_alias: license +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: title_1 +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: true + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: false +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true + diff --git a/islandora_rdm_solr_config/config/install/facets.facet.publication_year.yml b/islandora_rdm_solr_config/config/install/facets.facet.publication_year.yml index 066aff4..196ae6c 100644 --- a/islandora_rdm_solr_config/config/install/facets.facet.publication_year.yml +++ b/islandora_rdm_solr_config/config/install/facets.facet.publication_year.yml @@ -1,72 +1,63 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - - views.view.solr_search_content - module: - - search_api - enforced: - module: - - islandora_rdm_solr_config -id: publication_year -name: 'Publication Year' -url_alias: publication_year -weight: 1 -min_count: 1 -show_only_one_result: false -field_identifier: field_rdm_publication_year -facet_source_id: 'search_api:views_page__solr_search_content__page_1' -widget: - type: checkbox - config: - show_numbers: true - soft_limit: 0 - soft_limit_settings: - show_less_label: 'Show less' - show_more_label: 'Show more' - show_reset_link: false - reset_text: 'Show all' - hide_reset_when_no_selection: false -query_operator: or -use_hierarchy: false -expand_hierarchy: false -enable_parent_when_child_gets_disabled: true -hard_limit: 0 -exclude: false -only_visible_when_facet_source_is_visible: true -processor_configs: - active_widget_order: - processor_id: active_widget_order - weights: - sort: 20 - settings: - sort: DESC - count_limit: - processor_id: count_limit - weights: - build: 50 - settings: - minimum_items: 1 - maximum_items: null - count_widget_order: - processor_id: count_widget_order - weights: - sort: 30 - settings: - sort: DESC - display_value_widget_order: - processor_id: display_value_widget_order - weights: - sort: 40 - settings: - sort: ASC - url_processor_handler: - processor_id: url_processor_handler - weights: - pre_query: 50 - build: 15 - settings: { } -empty_behavior: - behavior: none -show_title: true +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: publication_year +name: 'Publication Year' +url_alias: publication_year +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_rdm_publication_year +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: true + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: false +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true + diff --git a/islandora_rdm_solr_config/config/install/facets.facet.resource_type_general_.yml b/islandora_rdm_solr_config/config/install/facets.facet.resource_type_general_.yml deleted file mode 100644 index b32d5ea..0000000 --- a/islandora_rdm_solr_config/config/install/facets.facet.resource_type_general_.yml +++ /dev/null @@ -1,72 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - - views.view.solr_search_content - module: - - search_api - enforced: - module: - - islandora_rdm_solr_config -id: resource_type_general_ -name: 'Resource Type' -url_alias: resource_type_general_ -weight: 1 -min_count: 1 -show_only_one_result: false -field_identifier: field_rdm_resource_type_general -facet_source_id: 'search_api:views_page__solr_search_content__page_1' -widget: - type: checkbox - config: - show_numbers: true - soft_limit: 0 - soft_limit_settings: - show_less_label: 'Show less' - show_more_label: 'Show more' - show_reset_link: false - reset_text: 'Show all' - hide_reset_when_no_selection: false -query_operator: or -use_hierarchy: false -expand_hierarchy: false -enable_parent_when_child_gets_disabled: true -hard_limit: 0 -exclude: false -only_visible_when_facet_source_is_visible: true -processor_configs: - active_widget_order: - processor_id: active_widget_order - weights: - sort: 20 - settings: - sort: DESC - count_limit: - processor_id: count_limit - weights: - build: 50 - settings: - minimum_items: 1 - maximum_items: null - count_widget_order: - processor_id: count_widget_order - weights: - sort: 30 - settings: - sort: DESC - display_value_widget_order: - processor_id: display_value_widget_order - weights: - sort: 40 - settings: - sort: ASC - url_processor_handler: - processor_id: url_processor_handler - weights: - pre_query: 50 - build: 15 - settings: { } -empty_behavior: - behavior: none -show_title: true diff --git a/islandora_rdm_solr_config/config/install/facets.facet.subjects.yml b/islandora_rdm_solr_config/config/install/facets.facet.subjects.yml index 161bdcd..7e8f606 100644 --- a/islandora_rdm_solr_config/config/install/facets.facet.subjects.yml +++ b/islandora_rdm_solr_config/config/install/facets.facet.subjects.yml @@ -1,72 +1,63 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - - views.view.solr_search_content - module: - - search_api - enforced: - module: - - islandora_rdm_solr_config -id: subjects -name: Subjects -url_alias: subjects -weight: 1 -min_count: 1 -show_only_one_result: false -field_identifier: field_subjects -facet_source_id: 'search_api:views_page__solr_search_content__page_1' -widget: - type: checkbox - config: - show_numbers: false - soft_limit: 0 - soft_limit_settings: - show_less_label: 'Show less' - show_more_label: 'Show more' - show_reset_link: false - reset_text: 'Show all' - hide_reset_when_no_selection: false -query_operator: or -use_hierarchy: false -expand_hierarchy: false -enable_parent_when_child_gets_disabled: true -hard_limit: 0 -exclude: false -only_visible_when_facet_source_is_visible: true -processor_configs: - active_widget_order: - processor_id: active_widget_order - weights: - sort: 20 - settings: - sort: DESC - count_limit: - processor_id: count_limit - weights: - build: 50 - settings: - minimum_items: 1 - maximum_items: null - count_widget_order: - processor_id: count_widget_order - weights: - sort: 30 - settings: - sort: DESC - display_value_widget_order: - processor_id: display_value_widget_order - weights: - sort: 40 - settings: - sort: ASC - url_processor_handler: - processor_id: url_processor_handler - weights: - pre_query: 50 - build: 15 - settings: { } -empty_behavior: - behavior: none -show_title: true +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + - views.view.solr_search_content + module: + - search_api +id: subjects +name: Subjects +url_alias: subjects +weight: 0 +min_count: 1 +show_only_one_result: false +field_identifier: field_subjects +facet_source_id: 'search_api:views_page__solr_search_content__page_1' +widget: + type: checkbox + config: + show_numbers: true + soft_limit: 0 + soft_limit_settings: + show_less_label: 'Show less' + show_more_label: 'Show more' + show_reset_link: false + reset_text: 'Show all' + hide_reset_when_no_selection: false +query_operator: or +use_hierarchy: false +expand_hierarchy: false +enable_parent_when_child_gets_disabled: true +hard_limit: 0 +exclude: false +only_visible_when_facet_source_is_visible: false +processor_configs: + active_widget_order: + processor_id: active_widget_order + weights: + sort: 20 + settings: + sort: DESC + count_widget_order: + processor_id: count_widget_order + weights: + sort: 30 + settings: + sort: DESC + display_value_widget_order: + processor_id: display_value_widget_order + weights: + sort: 40 + settings: + sort: ASC + url_processor_handler: + processor_id: url_processor_handler + weights: + pre_query: 50 + build: 15 + settings: { } +empty_behavior: + behavior: none +show_title: true + diff --git a/islandora_rdm_solr_config/config/install/search_api.index.default_solr_index.yml b/islandora_rdm_solr_config/config/install/search_api.index.default_solr_index.yml index c761985..07fb886 100644 --- a/islandora_rdm_solr_config/config/install/search_api.index.default_solr_index.yml +++ b/islandora_rdm_solr_config/config/install/search_api.index.default_solr_index.yml @@ -5,19 +5,16 @@ dependencies: - search_api_solr - node - user - - paragraphs + - taxonomy - search_api - - media config: - - field.storage.media.field_edited_text - - field.storage.node.field_rdm_creator - - field.storage.paragraph.field_rdm_personal_name + - field.storage.node.field_rdm_license + - field.storage.taxonomy_term.field_license_link + - field.storage.node.field_rdm_publication_year + - field.storage.node.field_subjects - field.storage.node.field_tags - search_api.server.default_solr_server - core.entity_view_mode.node.search_index - enforced: - module: - - islandora_rdm_solr_config third_party_settings: search_api_solr: finalize: false @@ -73,17 +70,22 @@ field_settings: dependencies: module: - node - field_rdm_personal_name: - label: 'Creator » Paragraph » Personal Name' + field_rdm_publication_year: + label: 'Publication Year' datasource_id: 'entity:node' - property_path: 'field_rdm_creator:entity:field_rdm_personal_name' - type: text + property_path: field_rdm_publication_year + type: string dependencies: config: - - field.storage.node.field_rdm_creator - - field.storage.paragraph.field_rdm_personal_name - module: - - paragraphs + - field.storage.node.field_rdm_publication_year + field_subjects: + label: Subjects + datasource_id: 'entity:node' + property_path: field_subjects + type: string + dependencies: + config: + - field.storage.node.field_subjects field_tags: label: Tags datasource_id: 'entity:node' @@ -99,14 +101,6 @@ field_settings: indexed_locked: true type_locked: true hidden: true - processed: - label: 'Edited Text » Processed text' - datasource_id: 'entity:media' - property_path: 'field_edited_text:processed' - type: text - dependencies: - config: - - field.storage.media.field_edited_text rendered_item: label: 'Rendered item' property_path: rendered_item @@ -115,41 +109,13 @@ field_settings: roles: anonymous: anonymous view_mode: - 'entity:media': - audio: '' - extracted_text: '' - file: '' - fits_technical_metadata: '' - image: '' - pdf: '' - remote_video: '' - video: '' 'entity:node': article: search_index - data_management_plan: default - funding_information: default - islandora_object: '' - islandora_rdm_dataset: default + data_management_plan: search_index + funding_information: search_index + islandora_object: search_index + islandora_rdm_dataset: search_index page: search_index - 'entity:paragraph': - alternate_identifier: '' - rdm_contribution_organizational: '' - rdm_contribution_personal: '' - rdm_organization: '' - rdm_organizational_identifier: '' - rdm_person: '' - rdm_personal_identifier: '' - related_resource: '' - typed_date: '' - typed_description: '' - rendered_item_1: - label: 'Rendered HTML output' - property_path: rendered_item - type: text - configuration: - roles: - - anonymous - view_mode: { } status: label: 'Publishing status' datasource_id: 'entity:node' @@ -177,6 +143,17 @@ field_settings: dependencies: module: - node + title_1: + label: 'License » Taxonomy term » License link » Link text' + datasource_id: 'entity:node' + property_path: 'field_rdm_license:entity:field_license_link:title' + type: string + dependencies: + config: + - field.storage.node.field_rdm_license + - field.storage.taxonomy_term.field_license_link + module: + - taxonomy type: label: 'Content type' datasource_id: 'entity:node' @@ -196,13 +173,6 @@ field_settings: module: - node datasource_settings: - 'entity:media': - bundles: - default: true - selected: { } - languages: - default: true - selected: { } 'entity:node': bundles: default: true @@ -210,13 +180,6 @@ datasource_settings: languages: default: true selected: { } - 'entity:paragraph': - bundles: - default: true - selected: { } - languages: - default: true - selected: { } processor_settings: add_url: weights: @@ -258,3 +221,4 @@ options: index_directly: true cron_limit: 50 server: default_solr_server + diff --git a/islandora_rdm_solr_config/config/install/search_api.server.default_solr_server.yml b/islandora_rdm_solr_config/config/install/search_api.server.default_solr_server.yml deleted file mode 100644 index c4c3f54..0000000 --- a/islandora_rdm_solr_config/config/install/search_api.server.default_solr_server.yml +++ /dev/null @@ -1,37 +0,0 @@ -langcode: en -status: true -dependencies: - config: - - search_api_solr.solr_field_type.text_phonetic_und_7_0_0 - - search_api_solr.solr_field_type.text_und_7_0_0 - module: - - search_api_solr - enforced: - module: - - islandora_rdm_solr_config -id: default_solr_server -name: 'Solr Server' -description: 'Default Solr server created by the Solr Search Defaults module' -backend: search_api_solr -backend_config: - connector: standard - connector_config: - scheme: http - host: localhost - port: '8983' - path: /solr - core: CLAW - timeout: 5 - index_timeout: 10 - optimize_timeout: 15 - finalize_timeout: 30 - commit_within: 1000 - solr_version: '' - http_method: AUTO - jmx: false - retrieve_data: false - highlight_data: false - skip_schema_check: false - server_prefix: '' - domain: generic - site_hash: true diff --git a/islandora_rdm_solr_config/config/install/views.view.solr_search_content.yml b/islandora_rdm_solr_config/config/install/views.view.solr_search_content.yml index 86b36ee..129b220 100644 --- a/islandora_rdm_solr_config/config/install/views.view.solr_search_content.yml +++ b/islandora_rdm_solr_config/config/install/views.view.solr_search_content.yml @@ -1,231 +1,165 @@ -langcode: en -status: true -dependencies: - config: - - search_api.index.default_solr_index - module: - - search_api - - vefl - enforced: - module: - - islandora_rdm_solr_config -_core: - default_config_hash: WL4w5mZNKQaKr_LN6ix_lTtr-GqNDdB468D-WjlTtD0 -id: solr_search_content -label: 'Solr search content' -module: views -description: 'A search page preconfigured to search through the content of your site' -tag: '' -base_table: search_api_index_default_solr_index -base_field: search_api_id -core: 8.x -display: - default: - display_plugin: default - id: default - display_title: Master - position: 0 - display_options: - access: - type: none - options: { } - cache: - type: none - options: { } - query: - type: search_api_query - options: { } - exposed_form: - type: vefl_basic - options: - submit_button: Search - reset_button: false - reset_button_label: Reset - exposed_sorts_label: Sort - expose_sort_order: true - sort_asc_label: Asc - sort_desc_label: Desc - layout: - layout_id: grid-4x4 - change: Change - widget_region: - search_api_fulltext: r1c1 - sort_by: r1c2 - sort_order: r1c3 - items_per_page: r2c1 - offset: r2c3 - submit: r2c4 - reset: r3c1 - pager: - type: mini - options: - items_per_page: 10 - offset: 0 - id: 0 - total_pages: null - tags: - previous: '‹ previous' - next: 'next ›' - expose: - items_per_page: false - items_per_page_label: 'Items per page' - items_per_page_options: '5, 10, 25, 50' - items_per_page_options_all: false - items_per_page_options_all_label: '- All -' - offset: false - offset_label: Offset - style: - type: default - row: - type: search_api - options: - view_modes: - 'entity:node': - article: search_result - funding_information: default - islandora_object: default - islandora_rdm_dataset: search_result - page: search_result - filters: - search_api_fulltext: - id: search_api_fulltext - table: search_api_index_default_solr_index - field: search_api_fulltext - relationship: none - group_type: group - admin_label: '' - operator: or - value: '' - group: 1 - exposed: true - expose: - operator_id: search_api_fulltext_op - label: Search - description: '' - use_operator: false - operator: search_api_fulltext_op - identifier: search_api_fulltext - required: true - remember: false - multiple: false - remember_roles: - authenticated: authenticated - anonymous: '0' - administrator: '0' - fedoraadmin: '0' - placeholder: '' - is_grouped: false - group_info: - label: 'Fulltext search' - description: '' - identifier: search_api_fulltext - optional: false - widget: select - multiple: false - remember: true - default_group: All - default_group_multiple: { } - group_items: - 1: - title: '' - operator: or - value: '' - 2: - title: '' - operator: or - value: '' - 3: - title: '' - operator: or - value: '' - parse_mode: terms - min_length: 3 - fields: - - title - plugin_id: search_api_fulltext - sorts: - search_api_relevance: - id: search_api_relevance - table: search_api_index_default_solr_index - field: search_api_relevance - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: true - expose: - label: Relevance - plugin_id: search_api - title: - id: title - table: search_api_index_default_solr_index - field: title - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: true - expose: - label: Title - plugin_id: search_api - created: - id: created - table: search_api_index_default_solr_index - field: created - relationship: none - group_type: group - admin_label: '' - order: ASC - exposed: true - expose: - label: 'Authored on' - plugin_id: search_api - title: '' - header: - result: - id: result - table: views - field: result - relationship: none - group_type: group - admin_label: '' - empty: true - content: 'Displaying results @start - @end of @total' - plugin_id: result - footer: { } - empty: { } - relationships: { } - arguments: { } - display_extenders: { } - cache_metadata: - contexts: - - 'languages:language_interface' - - url - - url.query_args - - 'url.query_args:sort_by' - - 'url.query_args:sort_order' - cacheable: false - max-age: -1 - tags: { } - page_1: - display_plugin: page - id: page_1 - display_title: Page - position: 1 - display_options: - display_extenders: { } - path: solr-search/content - cache: - type: none - defaults: - cache: false - cache_metadata: - contexts: - - 'languages:language_interface' - - url - - url.query_args - - 'url.query_args:sort_by' - - 'url.query_args:sort_order' - cacheable: false - max-age: -1 - tags: { } +langcode: en +status: true +dependencies: + config: + - search_api.index.default_solr_index + module: + - search_api +_core: + default_config_hash: WL4w5mZNKQaKr_LN6ix_lTtr-GqNDdB468D-WjlTtD0 +id: solr_search_content +label: 'Solr search content' +module: views +description: 'A search page preconfigured to search through the content of your site' +tag: '' +base_table: search_api_index_default_solr_index +base_field: search_api_id +core: 8.x +display: + default: + display_plugin: default + id: default + display_title: Master + position: 0 + display_options: + access: + type: none + options: { } + cache: + type: none + options: { } + query: + type: search_api_query + options: { } + exposed_form: + type: input_required + options: + submit_button: Search + reset_button: false + reset_button_label: Reset + exposed_sorts_label: 'Sort by' + expose_sort_order: true + sort_asc_label: Asc + sort_desc_label: Desc + text_input_required: 'Please enter some keywords to search.' + text_input_required_format: basic_html + pager: + type: mini + options: + items_per_page: 10 + offset: 0 + id: 0 + total_pages: null + tags: + previous: '‹ previous' + next: 'next ›' + expose: + items_per_page: false + items_per_page_label: 'Items per page' + items_per_page_options: '5, 10, 25, 50' + items_per_page_options_all: false + items_per_page_options_all_label: '- All -' + offset: false + offset_label: Offset + style: + type: default + row: + type: search_api + options: + view_modes: + 'entity:node': + article: search_result + data_management_plan: search_result + funding_information: search_result + islandora_object: search_result + islandora_rdm_dataset: search_result + page: search_result + filters: + search_api_fulltext: + id: search_api_fulltext + table: search_api_index_default_solr_index + field: search_api_fulltext + relationship: none + group_type: group + admin_label: '' + operator: and + value: '' + group: 1 + exposed: true + expose: + operator_id: search_op + label: Search + description: '' + use_operator: false + operator: search_op + identifier: keys + required: true + remember: false + multiple: false + remember_roles: + authenticated: authenticated + anonymous: '0' + administrator: '0' + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + parse_mode: terms + min_length: 3 + fields: { } + plugin_id: search_api_fulltext + sorts: { } + title: 'Search Content' + header: + result: + id: result + table: views + field: result + relationship: none + group_type: group + admin_label: '' + empty: false + content: 'Displaying results @start - @end of @total' + plugin_id: result + footer: { } + empty: { } + relationships: { } + arguments: { } + display_extenders: { } + cache_metadata: + contexts: + - 'languages:language_interface' + - url + - url.query_args + cacheable: false + max-age: -1 + tags: { } + page_1: + display_plugin: page + id: page_1 + display_title: Page + position: 1 + display_options: + display_extenders: { } + path: solr-search/content + cache: + type: none + defaults: + cache: false + cache_metadata: + contexts: + - 'languages:language_interface' + - url + - url.query_args + cacheable: false + max-age: -1 + tags: { } + diff --git a/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml b/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml deleted file mode 100755 index 366e148..0000000 --- a/islandora_rdm_solr_config/islandora_rdm_solr_config.features.yml +++ /dev/null @@ -1,5 +0,0 @@ -bundle: islandora_rdm -excluded: - - search_api.index.default_solr_index - - search_api.server.default_solr_server -required: true