From 65d2bb9f4e2038f72fed3f629261c2532638fe62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 15 Jun 2020 18:29:04 -0400 Subject: [PATCH] Apply seeming self-updates to search API --- config/sync/search_api.index.action.yml | 75 ++++++++++------ config/sync/search_api.index.article.yml | 75 ++++++++++------ config/sync/search_api.index.blog.yml | 40 ++++----- config/sync/search_api.index.campaign.yml | 75 ++++++++++------ config/sync/search_api.index.case_study.yml | 69 +++++++++----- config/sync/search_api.index.content.yml | 99 +++++++++++++-------- config/sync/search_api.index.event.yml | 75 ++++++++++------ config/sync/search_api.index.people.yml | 75 ++++++++++------ config/sync/search_api.index.resource.yml | 75 ++++++++++------ 9 files changed, 421 insertions(+), 237 deletions(-) diff --git a/config/sync/search_api.index.action.yml b/config/sync/search_api.index.action.yml index 2bebdb0..ca8705c 100644 --- a/config/sync/search_api.index.action.yml +++ b/config/sync/search_api.index.action.yml @@ -2,6 +2,10 @@ uuid: 685f7e53-df07-456c-b489-4c3b2cd0db72 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_tags - field.storage.node.field_summary @@ -10,10 +14,6 @@ dependencies: - field.storage.node.field_action_link - search_api.server.database - core.entity_view_mode.node.search_index - module: - - user - - search_api - - node _core: default_config_hash: GkDs9zHVzODTPJeMdg1mGFCeA2w4fQMfHmzHn7A4Nkk id: action @@ -44,6 +44,9 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node field_tags: label: Tags datasource_id: 'entity:node' @@ -57,6 +60,9 @@ field_settings: datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -64,11 +70,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -84,6 +96,9 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node name: label: 'Authored by » User » Name' datasource_id: 'entity:node' @@ -91,17 +106,24 @@ field_settings: type: string dependencies: module: + - node - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node promote: label: 'Promoted to front page' datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node field_action_end_date: label: 'Action end date' datasource_id: 'entity:node' @@ -136,10 +158,12 @@ datasource_settings: default: true selected: { } processor_settings: - rendered_item: { } add_url: { } - aggregated_field: { } - entity_status: { } + content_access: + weights: + preprocess_query: -45 + language_with_fallback: { } + rendered_item: { } tokenizer: all_fields: false fields: @@ -152,6 +176,23 @@ processor_settings: weights: preprocess_index: -44 preprocess_query: -46 + html_filter: + all_fields: false + fields: + - rendered_item + - field_summary + title: true + alt: true + tags: + h1: 5 + h2: 3 + h3: 2 + strong: 2 + b: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + entity_status: { } stopwords: all_fields: false fields: @@ -197,6 +238,7 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 + aggregated_field: { } ignorecase: all_fields: false fields: @@ -217,25 +259,6 @@ processor_settings: weights: preprocess_index: -47 preprocess_query: -48 - content_access: - weights: - preprocess_query: -45 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.article.yml b/config/sync/search_api.index.article.yml index e66c020..a5a8c4d 100644 --- a/config/sync/search_api.index.article.yml +++ b/config/sync/search_api.index.article.yml @@ -2,6 +2,10 @@ uuid: ebe41411-d803-4e6f-ad3b-d2cee6726564 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_tags - field.storage.node.field_summary @@ -10,10 +14,6 @@ dependencies: - field.storage.node.field_topics - search_api.server.database - core.entity_view_mode.node.search_index - module: - - user - - search_api - - node _core: default_config_hash: J04p8dO7JgH6HJ11pkCigWVJg-8TXjwcS4kwaVmluI8 id: article @@ -44,6 +44,9 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node field_tags: label: Tags datasource_id: 'entity:node' @@ -57,6 +60,9 @@ field_settings: datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -64,11 +70,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -84,6 +96,9 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node name: label: 'Authored by » User » Name' datasource_id: 'entity:node' @@ -91,17 +106,24 @@ field_settings: type: string dependencies: module: + - node - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node promote: label: 'Promoted to front page' datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node field_article_type: label: 'Article type' datasource_id: 'entity:node' @@ -136,10 +158,12 @@ datasource_settings: default: true selected: { } processor_settings: - rendered_item: { } add_url: { } - aggregated_field: { } - entity_status: { } + content_access: + weights: + preprocess_query: -45 + language_with_fallback: { } + rendered_item: { } tokenizer: all_fields: false fields: @@ -152,6 +176,23 @@ processor_settings: weights: preprocess_index: -44 preprocess_query: -46 + html_filter: + all_fields: false + fields: + - rendered_item + - field_summary + title: true + alt: true + tags: + h1: 5 + h2: 3 + h3: 2 + strong: 2 + b: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + entity_status: { } stopwords: all_fields: false fields: @@ -197,6 +238,7 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 + aggregated_field: { } ignorecase: all_fields: false fields: @@ -217,25 +259,6 @@ processor_settings: weights: preprocess_index: -47 preprocess_query: -48 - content_access: - weights: - preprocess_query: -45 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.blog.yml b/config/sync/search_api.index.blog.yml index 283a4be..e0beb0f 100644 --- a/config/sync/search_api.index.blog.yml +++ b/config/sync/search_api.index.blog.yml @@ -69,7 +69,6 @@ field_settings: module: - node - user - - user node_grants: label: 'Node access information' property_path: search_api_node_grants @@ -150,11 +149,23 @@ datasource_settings: selected: { } processor_settings: add_url: { } - aggregated_field: { } content_access: weights: preprocess_query: -45 - entity_status: { } + language_with_fallback: { } + rendered_item: { } + tokenizer: + all_fields: false + fields: + - field_summary + - rendered_item + - title + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' + weights: + preprocess_index: -44 + preprocess_query: -46 html_filter: all_fields: false fields: @@ -171,17 +182,7 @@ processor_settings: weights: preprocess_index: -46 preprocess_query: -47 - ignorecase: - all_fields: false - fields: - - field_summary - - name - - rendered_item - - title - weights: - preprocess_index: -49 - preprocess_query: -49 - rendered_item: { } + entity_status: { } stopwords: all_fields: false fields: @@ -227,18 +228,17 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - tokenizer: + aggregated_field: { } + ignorecase: all_fields: false fields: - field_summary + - name - rendered_item - title - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' weights: - preprocess_index: -44 - preprocess_query: -46 + preprocess_index: -49 + preprocess_query: -49 transliteration: all_fields: false fields: diff --git a/config/sync/search_api.index.campaign.yml b/config/sync/search_api.index.campaign.yml index 01660f9..660534b 100644 --- a/config/sync/search_api.index.campaign.yml +++ b/config/sync/search_api.index.campaign.yml @@ -2,14 +2,14 @@ uuid: cac95268-e707-4f51-aed7-608b5e2085d5 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_summary - search_api.server.database - core.entity_view_mode.node.search_index - module: - - user - - search_api - - node _core: default_config_hash: KBRaJWFxQLm4E4T0Cl9L5rX7ivF_DN3qCpw9248scJ0 id: campaign @@ -40,11 +40,17 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node created: label: 'Authored on' datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -52,11 +58,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -72,6 +84,9 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node name: label: 'Authored by » User » Name' datasource_id: 'entity:node' @@ -79,17 +94,24 @@ field_settings: type: string dependencies: module: + - node - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node promote: label: 'Promoted to front page' datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node datasource_settings: 'entity:node': bundles: @@ -101,6 +123,11 @@ datasource_settings: selected: { } processor_settings: add_url: { } + content_access: + weights: + preprocess_query: -45 + language_with_fallback: { } + rendered_item: { } tokenizer: all_fields: false fields: @@ -113,7 +140,23 @@ processor_settings: weights: preprocess_index: -44 preprocess_query: -46 - aggregated_field: { } + html_filter: + all_fields: false + fields: + - rendered_item + - field_summary + title: true + alt: true + tags: + h1: 5 + h2: 3 + h3: 2 + strong: 2 + b: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + entity_status: { } stopwords: all_fields: false fields: @@ -159,11 +202,7 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - rendered_item: { } - entity_status: { } - content_access: - weights: - preprocess_query: -45 + aggregated_field: { } ignorecase: all_fields: false fields: @@ -184,22 +223,6 @@ processor_settings: weights: preprocess_index: -47 preprocess_query: -48 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.case_study.yml b/config/sync/search_api.index.case_study.yml index 31207dd..52fbb08 100644 --- a/config/sync/search_api.index.case_study.yml +++ b/config/sync/search_api.index.case_study.yml @@ -2,6 +2,10 @@ uuid: 552bb15c-6625-4c5c-9ac1-079ca864e7f2 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_case_study_client - field.storage.node.field_case_study_partners @@ -12,10 +16,6 @@ dependencies: - field.storage.node.field_services - field.storage.node.field_summary - search_api.server.database - module: - - user - - search_api - - node _core: default_config_hash: nBr-sIteA0eUXy98AelC21GVhp9W0nXOrtrNz0nvZ64 id: case_study @@ -28,11 +28,17 @@ field_settings: datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node created: label: 'Authored on' datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node field_case_study_client: label: Client datasource_id: 'entity:node' @@ -104,6 +110,7 @@ field_settings: type: string dependencies: module: + - node - user node_grants: label: 'Node access information' @@ -117,6 +124,9 @@ field_settings: datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node rendered_item: label: 'Rendered HTML output' property_path: rendered_item @@ -142,17 +152,26 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node title: label: Title datasource_id: 'entity:node' property_path: title type: text boost: !!float 8 + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -160,6 +179,9 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node datasource_settings: 'entity:node': bundles: @@ -171,11 +193,23 @@ datasource_settings: selected: { } processor_settings: add_url: { } - aggregated_field: { } content_access: weights: preprocess_query: -45 - entity_status: { } + language_with_fallback: { } + rendered_item: { } + tokenizer: + all_fields: false + fields: + - field_summary + - rendered_item + - title + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' + weights: + preprocess_index: -44 + preprocess_query: -46 html_filter: all_fields: false fields: @@ -192,17 +226,7 @@ processor_settings: weights: preprocess_index: -46 preprocess_query: -47 - ignorecase: - all_fields: false - fields: - - field_summary - - name - - rendered_item - - title - weights: - preprocess_index: -49 - preprocess_query: -49 - rendered_item: { } + entity_status: { } stopwords: all_fields: false fields: @@ -248,18 +272,17 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - tokenizer: + aggregated_field: { } + ignorecase: all_fields: false fields: - field_summary + - name - rendered_item - title - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' weights: - preprocess_index: -44 - preprocess_query: -46 + preprocess_index: -49 + preprocess_query: -49 transliteration: all_fields: false fields: diff --git a/config/sync/search_api.index.content.yml b/config/sync/search_api.index.content.yml index 5ef8460..72caeb7 100644 --- a/config/sync/search_api.index.content.yml +++ b/config/sync/search_api.index.content.yml @@ -2,15 +2,15 @@ uuid: f8e8fb19-b2b1-41d0-ada1-b03ae23f9c23 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_tags - field.storage.node.field_summary - search_api.server.database - core.entity_view_mode.node.full - module: - - user - - search_api - - node _core: default_config_hash: 8J7Osuw_wrGb6nDwjzFpe02fOzNowNbFih-owOA2VHk id: content @@ -48,16 +48,25 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node created: label: 'Authored on' datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node status: label: 'Publishing status' datasource_id: 'entity:node' @@ -65,11 +74,17 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node field_tags: label: Tags datasource_id: 'entity:node' @@ -85,6 +100,7 @@ field_settings: type: string dependencies: module: + - node - user uid: label: 'Author ID' @@ -93,11 +109,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node type: label: 'Content type' datasource_id: 'entity:node' property_path: type type: string + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -116,6 +138,30 @@ datasource_settings: default: true selected: { } processor_settings: + add_url: + weights: + preprocess_index: -30 + content_access: + weights: + preprocess_index: -6 + preprocess_query: -4 + language_with_fallback: { } + rendered_item: + weights: + add_properties: 0 + pre_index_save: -10 + tokenizer: + fields: + - rendered_item + - title + - field_summary + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' + weights: + preprocess_index: -2 + preprocess_query: -5 + all_fields: false html_filter: fields: - rendered_item @@ -132,10 +178,9 @@ processor_settings: preprocess_index: -3 preprocess_query: -6 all_fields: false - content_access: + entity_status: weights: - preprocess_index: -6 - preprocess_query: -4 + preprocess_index: -10 stopwords: fields: - rendered_item @@ -181,40 +226,9 @@ processor_settings: preprocess_index: -5 preprocess_query: -10 all_fields: false - entity_status: - weights: - preprocess_index: -10 - tokenizer: - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -2 - preprocess_query: -5 - all_fields: false - add_url: - weights: - preprocess_index: -30 - rendered_item: - weights: - add_properties: 0 - pre_index_save: -10 aggregated_field: weights: add_properties: 20 - transliteration: - fields: - - rendered_item - - title - - field_summary - weights: - preprocess_index: -4 - preprocess_query: -7 - all_fields: false ignorecase: fields: - rendered_item @@ -224,6 +238,15 @@ processor_settings: preprocess_index: -5 preprocess_query: -8 all_fields: false + transliteration: + fields: + - rendered_item + - title + - field_summary + weights: + preprocess_index: -4 + preprocess_query: -7 + all_fields: false tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.event.yml b/config/sync/search_api.index.event.yml index 149cb5c..ea20a71 100644 --- a/config/sync/search_api.index.event.yml +++ b/config/sync/search_api.index.event.yml @@ -2,6 +2,10 @@ uuid: 8b5ca05b-a953-4270-87e9-ac885c2b8150 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_tags - field.storage.node.field_summary @@ -10,10 +14,6 @@ dependencies: - field.storage.node.field_topics - search_api.server.database - core.entity_view_mode.node.search_index - module: - - user - - search_api - - node _core: default_config_hash: zat7whU86LmXH9N0ye6xl1m53ByVw_0uajXqOERyKEI id: event @@ -44,6 +44,9 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node field_tags: label: Tags datasource_id: 'entity:node' @@ -57,6 +60,9 @@ field_settings: datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -64,11 +70,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -84,6 +96,9 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node name: label: 'Authored by » User » Name' datasource_id: 'entity:node' @@ -91,17 +106,24 @@ field_settings: type: string dependencies: module: + - node - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node promote: label: 'Promoted to front page' datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node field_event_date: label: 'Event date' datasource_id: 'entity:node' @@ -144,10 +166,12 @@ datasource_settings: default: true selected: { } processor_settings: - rendered_item: { } add_url: { } - aggregated_field: { } - entity_status: { } + content_access: + weights: + preprocess_query: -45 + language_with_fallback: { } + rendered_item: { } tokenizer: all_fields: false fields: @@ -160,6 +184,23 @@ processor_settings: weights: preprocess_index: -44 preprocess_query: -46 + html_filter: + all_fields: false + fields: + - rendered_item + - field_summary + title: true + alt: true + tags: + h1: 5 + h2: 3 + h3: 2 + strong: 2 + b: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + entity_status: { } stopwords: all_fields: false fields: @@ -205,6 +246,7 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 + aggregated_field: { } ignorecase: all_fields: false fields: @@ -225,25 +267,6 @@ processor_settings: weights: preprocess_index: -47 preprocess_query: -48 - content_access: - weights: - preprocess_query: -45 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.people.yml b/config/sync/search_api.index.people.yml index c432a7b..322a51b 100644 --- a/config/sync/search_api.index.people.yml +++ b/config/sync/search_api.index.people.yml @@ -2,15 +2,15 @@ uuid: 9e1a864e-8391-48e0-bfe9-6809f522e22c langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_summary - field.storage.node.field_people_type - search_api.server.database - core.entity_view_mode.node.search_index - module: - - user - - search_api - - node _core: default_config_hash: MppSSFf9_oAEuTYEXp1R5nK30k5xRKvptoEDwKw9v6o id: people @@ -41,11 +41,17 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node created: label: 'Authored on' datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -53,11 +59,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -73,6 +85,9 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node name: label: 'Authored by » User » Name' datasource_id: 'entity:node' @@ -80,17 +95,24 @@ field_settings: type: string dependencies: module: + - node - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node promote: label: 'Promoted to front page' datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node field_people_type: label: 'People type' datasource_id: 'entity:node' @@ -110,6 +132,11 @@ datasource_settings: selected: { } processor_settings: add_url: { } + content_access: + weights: + preprocess_query: -45 + language_with_fallback: { } + rendered_item: { } tokenizer: all_fields: false fields: @@ -122,7 +149,23 @@ processor_settings: weights: preprocess_index: -44 preprocess_query: -46 - aggregated_field: { } + html_filter: + all_fields: false + fields: + - rendered_item + - field_summary + title: true + alt: true + tags: + h1: 5 + h2: 3 + h3: 2 + strong: 2 + b: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + entity_status: { } stopwords: all_fields: false fields: @@ -168,11 +211,7 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - rendered_item: { } - entity_status: { } - content_access: - weights: - preprocess_query: -45 + aggregated_field: { } ignorecase: all_fields: false fields: @@ -193,22 +232,6 @@ processor_settings: weights: preprocess_index: -47 preprocess_query: -48 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo diff --git a/config/sync/search_api.index.resource.yml b/config/sync/search_api.index.resource.yml index deb30fc..10cdc32 100644 --- a/config/sync/search_api.index.resource.yml +++ b/config/sync/search_api.index.resource.yml @@ -2,6 +2,10 @@ uuid: c17253d9-b0bf-4b40-9bde-ebc01e315cc7 langcode: en status: true dependencies: + module: + - node + - user + - search_api config: - field.storage.node.field_tags - field.storage.node.field_summary @@ -9,10 +13,6 @@ dependencies: - field.storage.node.field_topics - search_api.server.database - core.entity_view_mode.node.search_index - module: - - user - - search_api - - node _core: default_config_hash: fFIBB3dnItuQJjsd_PydP1ZyBnj9hsUpshBHlAX5f24 id: resource @@ -43,6 +43,9 @@ field_settings: property_path: title type: text boost: !!float 8 + dependencies: + module: + - node field_tags: label: Tags datasource_id: 'entity:node' @@ -56,6 +59,9 @@ field_settings: datasource_id: 'entity:node' property_path: created type: date + dependencies: + module: + - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -63,11 +69,17 @@ field_settings: type: integer indexed_locked: true type_locked: true + dependencies: + module: + - node changed: label: Changed datasource_id: 'entity:node' property_path: changed type: date + dependencies: + module: + - node field_summary: label: Summary datasource_id: 'entity:node' @@ -83,6 +95,9 @@ field_settings: type: boolean indexed_locked: true type_locked: true + dependencies: + module: + - node name: label: 'Authored by » User » Name' datasource_id: 'entity:node' @@ -90,12 +105,16 @@ field_settings: type: string dependencies: module: + - node - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' property_path: sticky type: boolean + dependencies: + module: + - node field_resource_type: label: 'Resource type' datasource_id: 'entity:node' @@ -109,6 +128,9 @@ field_settings: datasource_id: 'entity:node' property_path: promote type: boolean + dependencies: + module: + - node field_topics: label: Topics datasource_id: 'entity:node' @@ -128,6 +150,11 @@ datasource_settings: selected: { } processor_settings: add_url: { } + content_access: + weights: + preprocess_query: -45 + language_with_fallback: { } + rendered_item: { } tokenizer: all_fields: false fields: @@ -140,7 +167,23 @@ processor_settings: weights: preprocess_index: -44 preprocess_query: -46 - aggregated_field: { } + html_filter: + all_fields: false + fields: + - rendered_item + - field_summary + title: true + alt: true + tags: + h1: 5 + h2: 3 + h3: 2 + strong: 2 + b: 2 + weights: + preprocess_index: -46 + preprocess_query: -47 + entity_status: { } stopwords: all_fields: false fields: @@ -186,11 +229,7 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - rendered_item: { } - entity_status: { } - content_access: - weights: - preprocess_query: -45 + aggregated_field: { } ignorecase: all_fields: false fields: @@ -211,22 +250,6 @@ processor_settings: weights: preprocess_index: -47 preprocess_query: -48 - html_filter: - all_fields: false - fields: - - rendered_item - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - strong: 2 - b: 2 - weights: - preprocess_index: -46 - preprocess_query: -47 tracker_settings: default: indexing_order: fifo