Skip to content

Commit

Permalink
Community imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DonRichards committed Nov 28, 2023
1 parent 5dae2a7 commit b4c90cb
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 125 deletions.
15 changes: 10 additions & 5 deletions config/sync/block.block.search.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
uuid: 42d9fb99-0fff-4f1c-a514-c0c6f8091e18
langcode: en
status: false
status: true
dependencies:
module:
- advanced_search
- context
- islandora
- system
theme:
- idc_ui_theme_boots
id: search
theme: idc_ui_theme_boots
region: sidebar_first
weight: 0
region: primary_menu
weight: -11
provider: null
plugin: search_block
settings:
id: search_block
label: Search
label_display: visible
label_display: '0'
provider: advanced_search
block_id: search
search_view_machine_name: view.solr_search_content.page_1
Expand All @@ -28,7 +29,7 @@ visibility:
context_all:
id: context_all
negate: null
values: collection
values: ''
context:
id: context
negate: null
Expand All @@ -49,3 +50,7 @@ visibility:
negate: false
context_mapping: { }
mimetype: ''
request_path:
id: request_path
negate: true
pages: /search
2 changes: 1 addition & 1 deletion config/sync/context.context.collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ conditions:
negate: false
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/dc/dcmitype/Collection,http://vocab.getty.edu/aat/300242735'
uri: 'http://purl.org/dc/dcmitype/Collection,http://vocab.getty.edu/aat/300242735,http://purl.org/ontology/bibo/Collection'
logic: or
reactions:
blocks:
Expand Down
96 changes: 37 additions & 59 deletions config/sync/search_api.index.default_solr_index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ langcode: en
status: true
dependencies:
config:
- field.storage.node.field_abstract
- field.storage.node.field_alt_title
- field.storage.node.field_member_of
- field.storage.node.field_description
Expand All @@ -20,6 +19,7 @@ dependencies:
- field.storage.node.field_resource_type
- field.storage.node.field_rights
- field.storage.node.field_tags
- field.storage.node.field_abstract
- field.storage.node.field_subject_general
- field.storage.node.field_geographic_subject
- field.storage.node.field_subjects_name
Expand All @@ -39,7 +39,6 @@ third_party_settings:
finalize: false
commit_before_finalize: false
commit_after_finalize: false
debug_finalize: false
highlighter:
maxAnalyzedChars: 51200
fragmenter: regex
Expand All @@ -55,31 +54,14 @@ third_party_settings:
requireFieldMatch: false
snippets: 3
fragsize: 0
mlt:
mintf: 1
mindf: 1
maxdf: 0
maxdfpct: 0
minwl: 0
maxwl: 0
maxqt: 100
maxntp: 2000
boost: false
interestingTerms: none
term_modifiers:
slop: 3
fuzzy: 1
advanced:
index_prefix: ''
collection: ''
timezone: ''
multilingual:
limit_to_content_language: false
include_language_independent: true
use_language_undefined_as_fallback_language: false
specific_languages:
en: '0'
specific_languages: { }
use_universal_collation: false
_core:
default_config_hash: 3HSYR81fyYsY--a93ZG1VSN3PEHVN_o78qIhDfsxzs4
id: default_solr_index
name: 'Default Solr content index'
description: 'Default content index created by the Solr Search Defaults module'
Expand All @@ -91,11 +73,6 @@ field_settings:
type: text
configuration:
type: union
separator: |+
fields:
- 'entity:node/field_abstract'
- 'entity:node/field_description'
Expand Down Expand Up @@ -128,14 +105,6 @@ field_settings:
label: 'EDTF Creation Date Year'
property_path: edtf_year
type: integer
field_abstract:
label: Abstract
datasource_id: 'entity:node'
property_path: field_abstract
type: text
dependencies:
config:
- field.storage.node.field_abstract
field_alt_title:
label: 'Alternative Title'
datasource_id: 'entity:node'
Expand Down Expand Up @@ -234,13 +203,11 @@ field_settings:
field_member_of:
label: 'Member of'
datasource_id: 'entity:node'
property_path: 'field_member_of:entity:field_member_of'
property_path: field_member_of
type: integer
dependencies:
config:
- field.storage.node.field_member_of
module:
- node
field_oclc_number:
label: 'OCLC Number'
datasource_id: 'entity:node'
Expand All @@ -262,13 +229,11 @@ field_settings:
field_resource_type:
label: 'Resource Type'
datasource_id: 'entity:node'
property_path: 'field_resource_type:entity:name'
type: string
property_path: field_resource_type
type: integer
dependencies:
config:
- field.storage.node.field_resource_type
module:
- taxonomy
field_rights:
label: Rights
datasource_id: 'entity:node'
Expand All @@ -285,6 +250,26 @@ field_settings:
dependencies:
config:
- field.storage.node.field_tags
linked_agent_name_fulltext:
label: Names
datasource_id: 'entity:node'
property_path: 'field_linked_agent:entity:name'
type: text
dependencies:
config:
- field.storage.node.field_linked_agent
module:
- taxonomy
linked_agent_vid:
label: 'Linked Agent Vocab'
datasource_id: 'entity:node'
property_path: 'field_linked_agent:entity:vid'
type: string
dependencies:
config:
- field.storage.node.field_linked_agent
module:
- taxonomy
member_of_title:
label: 'Member of » Content » Title'
datasource_id: 'entity:node'
Expand All @@ -310,6 +295,14 @@ field_settings:
indexed_locked: true
type_locked: true
hidden: true
processed:
label: Abstract
datasource_id: 'entity:node'
property_path: 'field_abstract:processed'
type: string
dependencies:
config:
- field.storage.node.field_abstract
rendered_item:
label: 'Rendered item'
property_path: rendered_item
Expand All @@ -320,7 +313,6 @@ field_settings:
view_mode:
'entity:node':
article: search_index
collection_object: ''
islandora_object: search_index
page: search_index
status:
Expand All @@ -347,11 +339,6 @@ field_settings:
type: text
configuration:
type: union
separator: |+
fields:
- 'entity:node/field_geographic_subject'
- 'entity:node/field_subject'
Expand Down Expand Up @@ -433,14 +420,8 @@ field_settings:
type: text
configuration:
type: union
separator: |+
fields:
- 'entity:node/field_alt_title'
- 'entity:node/field_alternative_title'
- 'entity:node/field_full_title'
- 'entity:node/title'
type:
Expand Down Expand Up @@ -481,12 +462,8 @@ processor_settings:
weights:
preprocess_index: -6
preprocess_query: -4
custom_value: { }
edtf_year_only:
fields:
collection_object|field_edtf_date: collection_object|field_edtf_date
collection_object|field_edtf_date_created: collection_object|field_edtf_date_created
collection_object|field_edtf_date_issued: collection_object|field_edtf_date_issued
islandora_object|field_copyright_date: islandora_object|field_copyright_date
islandora_object|field_edtf_date: islandora_object|field_edtf_date
islandora_object|field_edtf_date_created: islandora_object|field_edtf_date_created
Expand All @@ -505,6 +482,7 @@ processor_settings:
preprocess_index: -45
fields:
field_descendant_of: node-field_member_of
field_resource_type: taxonomy_term-parent
highlight:
weights:
postprocess_query: 0
Expand All @@ -515,9 +493,9 @@ processor_settings:
excerpt_length: 256
exclude_fields:
- abstract_description_fulltext
- field_abstract
- field_description
- field_full_title
- linked_agent_name_fulltext
- rendered_item
- subject_aggregated_fulltext
- title
Expand Down
Loading

0 comments on commit b4c90cb

Please sign in to comment.