From 475b6ef62bee685facbbf5464b5e35433776389b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 18 Jun 2020 10:36:55 -0400 Subject: [PATCH] Commit search API updates from live that make zilch sense but whatevs --- config/sync/search_api.index.action.yml | 244 +++++++++---------- config/sync/search_api.index.article.yml | 234 +++++++++---------- config/sync/search_api.index.blog.yml | 40 ++-- config/sync/search_api.index.campaign.yml | 158 ++++++------- config/sync/search_api.index.case_study.yml | 40 ++-- config/sync/search_api.index.content.yml | 202 ++++++++-------- config/sync/search_api.index.event.yml | 246 ++++++++++---------- config/sync/search_api.index.people.yml | 196 ++++++++-------- config/sync/search_api.index.resource.yml | 228 +++++++++--------- 9 files changed, 794 insertions(+), 794 deletions(-) diff --git a/config/sync/search_api.index.action.yml b/config/sync/search_api.index.action.yml index ca8705c..b5bb010 100644 --- a/config/sync/search_api.index.action.yml +++ b/config/sync/search_api.index.action.yml @@ -21,6 +21,86 @@ name: Action description: 'An index for the action content type.' read_only: false field_settings: + changed: + label: Changed + 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_action_end_date: + label: 'Action end date' + datasource_id: 'entity:node' + property_path: field_action_end_date + type: date + dependencies: + config: + - field.storage.node.field_action_end_date + field_action_link: + label: 'Action link' + datasource_id: 'entity:node' + property_path: field_action_link + type: string + dependencies: + config: + - field.storage.node.field_action_link + field_action_type: + label: 'Action type' + datasource_id: 'entity:node' + property_path: field_action_type + type: integer + dependencies: + config: + - field.storage.node.field_action_type + field_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + field_tags: + label: Tags + datasource_id: 'entity:node' + property_path: field_tags + type: integer + dependencies: + config: + - field.storage.node.field_tags + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + dependencies: + module: + - node rendered_item: label: 'Rendered HTML output' property_path: rendered_item @@ -31,13 +111,24 @@ field_settings: view_mode: 'entity:node': action: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string + status: + label: Published + datasource_id: 'entity:node' + property_path: status + type: boolean indexed_locked: true type_locked: true - hidden: 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' @@ -47,22 +138,6 @@ field_settings: dependencies: module: - node - field_tags: - label: Tags - datasource_id: 'entity:node' - property_path: field_tags - type: integer - dependencies: - config: - - field.storage.node.field_tags - created: - label: 'Authored on' - datasource_id: 'entity:node' - property_path: created - type: date - dependencies: - module: - - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -73,81 +148,6 @@ field_settings: 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' - property_path: field_summary - type: text - dependencies: - config: - - field.storage.node.field_summary - status: - label: Published - datasource_id: 'entity:node' - property_path: status - type: boolean - indexed_locked: true - type_locked: true - dependencies: - module: - - node - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - 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' - property_path: field_action_end_date - type: date - dependencies: - config: - - field.storage.node.field_action_end_date - field_action_type: - label: 'Action type' - datasource_id: 'entity:node' - property_path: field_action_type - type: integer - dependencies: - config: - - field.storage.node.field_action_type - field_action_link: - label: 'Action link' - datasource_id: 'entity:node' - property_path: field_action_link - type: string - dependencies: - config: - - field.storage.node.field_action_link datasource_settings: 'entity:node': bundles: @@ -159,46 +159,45 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - language_with_fallback: { } - rendered_item: { } - tokenizer: - all_fields: false - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -44 - preprocess_query: -46 + entity_status: { } html_filter: all_fields: false fields: - - rendered_item - field_summary + - rendered_item title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 strong: 2 - b: 2 weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -238,24 +237,25 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 diff --git a/config/sync/search_api.index.article.yml b/config/sync/search_api.index.article.yml index a5a8c4d..c19b62f 100644 --- a/config/sync/search_api.index.article.yml +++ b/config/sync/search_api.index.article.yml @@ -21,58 +21,6 @@ name: Article description: 'An index for the article content type.' read_only: false field_settings: - rendered_item: - label: 'Rendered HTML output' - property_path: rendered_item - type: text - configuration: - roles: - anonymous: anonymous - view_mode: - 'entity:node': - article: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string - indexed_locked: true - type_locked: true - hidden: true - title: - label: Title - datasource_id: 'entity:node' - property_path: title - type: text - boost: !!float 8 - dependencies: - module: - - node - field_tags: - label: Tags - datasource_id: 'entity:node' - property_path: field_tags - type: integer - dependencies: - config: - - field.storage.node.field_tags - created: - label: 'Authored on' - datasource_id: 'entity:node' - property_path: created - type: date - dependencies: - module: - - node - uid: - label: 'Authored by' - datasource_id: 'entity:node' - property_path: uid - type: integer - indexed_locked: true - type_locked: true - dependencies: - module: - - node changed: label: Changed datasource_id: 'entity:node' @@ -81,46 +29,11 @@ field_settings: dependencies: module: - node - field_summary: - label: Summary + created: + label: 'Authored on' datasource_id: 'entity:node' - property_path: field_summary - type: text - dependencies: - config: - - field.storage.node.field_summary - status: - label: Published - datasource_id: 'entity:node' - property_path: status - type: boolean - indexed_locked: true - type_locked: true - dependencies: - module: - - node - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - 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 + property_path: created + type: date dependencies: module: - node @@ -140,6 +53,22 @@ field_settings: dependencies: config: - field.storage.node.field_authors + field_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + field_tags: + label: Tags + datasource_id: 'entity:node' + property_path: field_tags + type: integer + dependencies: + config: + - field.storage.node.field_tags field_topics: label: Topics datasource_id: 'entity:node' @@ -148,6 +77,77 @@ field_settings: dependencies: config: - field.storage.node.field_topics + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + dependencies: + module: + - node + rendered_item: + label: 'Rendered HTML output' + property_path: rendered_item + type: text + configuration: + roles: + anonymous: anonymous + view_mode: + 'entity:node': + article: search_index + status: + label: Published + datasource_id: 'entity:node' + property_path: status + 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' + property_path: uid + type: integer + indexed_locked: true + type_locked: true + dependencies: + module: + - node datasource_settings: 'entity:node': bundles: @@ -159,46 +159,45 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - language_with_fallback: { } - rendered_item: { } - tokenizer: - all_fields: false - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -44 - preprocess_query: -46 + entity_status: { } html_filter: all_fields: false fields: - - rendered_item - field_summary + - rendered_item title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 strong: 2 - b: 2 weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -238,24 +237,25 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 diff --git a/config/sync/search_api.index.blog.yml b/config/sync/search_api.index.blog.yml index e0beb0f..822aaef 100644 --- a/config/sync/search_api.index.blog.yml +++ b/config/sync/search_api.index.blog.yml @@ -149,23 +149,11 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - 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 + entity_status: { } html_filter: all_fields: false fields: @@ -182,7 +170,18 @@ processor_settings: weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: @@ -228,17 +227,18 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: - field_summary - - name - rendered_item - title + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: diff --git a/config/sync/search_api.index.campaign.yml b/config/sync/search_api.index.campaign.yml index 660534b..8f4a366 100644 --- a/config/sync/search_api.index.campaign.yml +++ b/config/sync/search_api.index.campaign.yml @@ -17,29 +17,11 @@ name: Campaign description: 'An index for the campaign content type.' read_only: false field_settings: - rendered_item: - label: 'Rendered HTML output' - property_path: rendered_item - type: text - configuration: - roles: - anonymous: anonymous - view_mode: - 'entity:node': - campaign: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string - indexed_locked: true - type_locked: true - hidden: true - title: - label: Title + changed: + label: Changed datasource_id: 'entity:node' - property_path: title - type: text - boost: !!float 8 + property_path: changed + type: date dependencies: module: - node @@ -51,24 +33,6 @@ field_settings: dependencies: module: - node - uid: - label: 'Authored by' - datasource_id: 'entity:node' - property_path: uid - 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' @@ -77,6 +41,40 @@ field_settings: dependencies: config: - field.storage.node.field_summary + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + dependencies: + module: + - node + rendered_item: + label: 'Rendered HTML output' + property_path: rendered_item + type: text + configuration: + roles: + anonymous: anonymous + view_mode: + 'entity:node': + campaign: search_index status: label: Published datasource_id: 'entity:node' @@ -87,15 +85,6 @@ field_settings: dependencies: module: - node - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - type: string - dependencies: - module: - - node - - user sticky: label: 'Sticky at top of lists' datasource_id: 'entity:node' @@ -104,11 +93,22 @@ field_settings: dependencies: module: - node - promote: - label: 'Promoted to front page' + title: + label: Title datasource_id: 'entity:node' - property_path: promote - type: boolean + property_path: title + type: text + boost: !!float 8 + dependencies: + module: + - node + uid: + label: 'Authored by' + datasource_id: 'entity:node' + property_path: uid + type: integer + indexed_locked: true + type_locked: true dependencies: module: - node @@ -123,46 +123,45 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - language_with_fallback: { } - rendered_item: { } - tokenizer: - all_fields: false - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -44 - preprocess_query: -46 + entity_status: { } html_filter: all_fields: false fields: - - rendered_item - field_summary + - rendered_item title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 strong: 2 - b: 2 weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -202,24 +201,25 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 diff --git a/config/sync/search_api.index.case_study.yml b/config/sync/search_api.index.case_study.yml index 52fbb08..5a3793a 100644 --- a/config/sync/search_api.index.case_study.yml +++ b/config/sync/search_api.index.case_study.yml @@ -193,23 +193,11 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - 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 + entity_status: { } html_filter: all_fields: false fields: @@ -226,7 +214,18 @@ processor_settings: weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: @@ -272,17 +271,18 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: - field_summary - - name - rendered_item - title + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: diff --git a/config/sync/search_api.index.content.yml b/config/sync/search_api.index.content.yml index 72caeb7..fa24a1d 100644 --- a/config/sync/search_api.index.content.yml +++ b/config/sync/search_api.index.content.yml @@ -18,6 +18,54 @@ name: 'Drutopia content index' description: 'Drutopia content index.' read_only: false field_settings: + author: + label: 'Author name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + changed: + label: Changed + 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_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + field_tags: + label: Tags + datasource_id: 'entity:node' + property_path: field_tags + type: integer + dependencies: + config: + - field.storage.node.field_tags + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true rendered_item: label: 'Rendered item' property_path: rendered_item @@ -35,38 +83,6 @@ field_settings: page: full people: full resource: full - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string - indexed_locked: true - type_locked: true - hidden: true - title: - label: Title - datasource_id: 'entity:node' - 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' @@ -85,30 +101,12 @@ field_settings: dependencies: module: - node - field_tags: - label: Tags + title: + label: Title datasource_id: 'entity:node' - property_path: field_tags - type: integer - dependencies: - config: - - field.storage.node.field_tags - author: - label: 'Author name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - type: string - dependencies: - module: - - node - - user - uid: - label: 'Author ID' - datasource_id: 'entity:node' - property_path: uid - type: integer - indexed_locked: true - type_locked: true + property_path: title + type: text + boost: !!float 8 dependencies: module: - node @@ -120,14 +118,16 @@ field_settings: dependencies: module: - node - field_summary: - label: Summary + uid: + label: 'Author ID' datasource_id: 'entity:node' - property_path: field_summary - type: text + property_path: uid + type: integer + indexed_locked: true + type_locked: true dependencies: - config: - - field.storage.node.field_summary + module: + - node datasource_settings: 'entity:node': bundles: @@ -141,51 +141,51 @@ processor_settings: add_url: weights: preprocess_index: -30 + aggregated_field: + weights: + add_properties: 20 content_access: weights: preprocess_index: -6 preprocess_query: -4 + entity_status: + weights: + preprocess_index: -10 + html_filter: + fields: + - field_summary + - rendered_item + title: true + alt: true + tags: + b: 2 + h1: 5 + h2: 3 + h3: 2 + string: 2 + weights: + preprocess_index: -3 + preprocess_query: -6 + all_fields: false + ignorecase: + fields: + - field_summary + - rendered_item + - title + weights: + preprocess_index: -5 + preprocess_query: -8 + all_fields: false 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 - - field_summary - title: true - alt: true - tags: - h1: 5 - h2: 3 - h3: 2 - string: 2 - b: 2 - weights: - preprocess_index: -3 - preprocess_query: -6 - all_fields: false - entity_status: - weights: - preprocess_index: -10 stopwords: fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -226,23 +226,23 @@ processor_settings: preprocess_index: -5 preprocess_query: -10 all_fields: false - aggregated_field: - weights: - add_properties: 20 - ignorecase: + tokenizer: fields: + - field_summary - rendered_item - title - - field_summary + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -5 - preprocess_query: -8 + preprocess_index: -2 + preprocess_query: -5 all_fields: false transliteration: fields: + - field_summary - rendered_item - title - - field_summary weights: preprocess_index: -4 preprocess_query: -7 diff --git a/config/sync/search_api.index.event.yml b/config/sync/search_api.index.event.yml index ea20a71..e742981 100644 --- a/config/sync/search_api.index.event.yml +++ b/config/sync/search_api.index.event.yml @@ -21,58 +21,6 @@ name: Event description: 'An index for the event content type.' read_only: false field_settings: - rendered_item: - label: 'Rendered HTML output' - property_path: rendered_item - type: text - configuration: - roles: - anonymous: anonymous - view_mode: - 'entity:node': - event: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string - indexed_locked: true - type_locked: true - hidden: true - title: - label: Title - datasource_id: 'entity:node' - property_path: title - type: text - boost: !!float 8 - dependencies: - module: - - node - field_tags: - label: Tags - datasource_id: 'entity:node' - property_path: field_tags - type: integer - dependencies: - config: - - field.storage.node.field_tags - created: - label: 'Authored on' - datasource_id: 'entity:node' - property_path: created - type: date - dependencies: - module: - - node - uid: - label: 'Authored by' - datasource_id: 'entity:node' - property_path: uid - type: integer - indexed_locked: true - type_locked: true - dependencies: - module: - - node changed: label: Changed datasource_id: 'entity:node' @@ -81,49 +29,22 @@ field_settings: dependencies: module: - node - field_summary: - label: Summary + created: + label: 'Authored on' datasource_id: 'entity:node' - property_path: field_summary - type: text + property_path: created + type: date + dependencies: + module: + - node + end_value: + label: 'Event date » End date value' + datasource_id: 'entity:node' + property_path: 'field_event_date:end_value' + type: date dependencies: config: - - field.storage.node.field_summary - status: - label: Published - datasource_id: 'entity:node' - property_path: status - type: boolean - indexed_locked: true - type_locked: true - dependencies: - module: - - node - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - 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.storage.node.field_event_date field_event_date: label: 'Event date' datasource_id: 'entity:node' @@ -140,14 +61,22 @@ field_settings: dependencies: config: - field.storage.node.field_event_type - end_value: - label: 'Event date » End date value' + field_summary: + label: Summary datasource_id: 'entity:node' - property_path: 'field_event_date:end_value' - type: date + property_path: field_summary + type: text dependencies: config: - - field.storage.node.field_event_date + - field.storage.node.field_summary + field_tags: + label: Tags + datasource_id: 'entity:node' + property_path: field_tags + type: integer + dependencies: + config: + - field.storage.node.field_tags field_topics: label: Topics datasource_id: 'entity:node' @@ -156,6 +85,77 @@ field_settings: dependencies: config: - field.storage.node.field_topics + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + dependencies: + module: + - node + rendered_item: + label: 'Rendered HTML output' + property_path: rendered_item + type: text + configuration: + roles: + anonymous: anonymous + view_mode: + 'entity:node': + event: search_index + status: + label: Published + datasource_id: 'entity:node' + property_path: status + 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' + property_path: uid + type: integer + indexed_locked: true + type_locked: true + dependencies: + module: + - node datasource_settings: 'entity:node': bundles: @@ -167,46 +167,45 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - language_with_fallback: { } - rendered_item: { } - tokenizer: - all_fields: false - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -44 - preprocess_query: -46 + entity_status: { } html_filter: all_fields: false fields: - - rendered_item - field_summary + - rendered_item title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 strong: 2 - b: 2 weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -246,24 +245,25 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 diff --git a/config/sync/search_api.index.people.yml b/config/sync/search_api.index.people.yml index 322a51b..75b64c0 100644 --- a/config/sync/search_api.index.people.yml +++ b/config/sync/search_api.index.people.yml @@ -18,6 +18,62 @@ name: People description: 'An index for the people content type.' read_only: false field_settings: + changed: + label: Changed + 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_people_type: + label: 'People type' + datasource_id: 'entity:node' + property_path: field_people_type + type: integer + dependencies: + config: + - field.storage.node.field_people_type + field_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + dependencies: + module: + - node rendered_item: label: 'Rendered HTML output' property_path: rendered_item @@ -28,13 +84,24 @@ field_settings: view_mode: 'entity:node': people: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string + status: + label: Published + datasource_id: 'entity:node' + property_path: status + type: boolean indexed_locked: true type_locked: true - hidden: 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' @@ -44,14 +111,6 @@ field_settings: 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' @@ -62,65 +121,6 @@ field_settings: 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' - property_path: field_summary - type: text - dependencies: - config: - - field.storage.node.field_summary - status: - label: Published - datasource_id: 'entity:node' - property_path: status - type: boolean - indexed_locked: true - type_locked: true - dependencies: - module: - - node - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - 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' - property_path: field_people_type - type: integer - dependencies: - config: - - field.storage.node.field_people_type datasource_settings: 'entity:node': bundles: @@ -132,46 +132,45 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - language_with_fallback: { } - rendered_item: { } - tokenizer: - all_fields: false - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -44 - preprocess_query: -46 + entity_status: { } html_filter: all_fields: false fields: - - rendered_item - field_summary + - rendered_item title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 strong: 2 - b: 2 weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -211,24 +210,25 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48 diff --git a/config/sync/search_api.index.resource.yml b/config/sync/search_api.index.resource.yml index 10cdc32..d9e0ecd 100644 --- a/config/sync/search_api.index.resource.yml +++ b/config/sync/search_api.index.resource.yml @@ -20,6 +20,78 @@ name: Resource description: 'An index for the resource content type.' read_only: false field_settings: + changed: + label: Changed + 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_resource_type: + label: 'Resource type' + datasource_id: 'entity:node' + property_path: field_resource_type + type: integer + dependencies: + config: + - field.storage.node.field_resource_type + field_summary: + label: Summary + datasource_id: 'entity:node' + property_path: field_summary + type: text + dependencies: + config: + - field.storage.node.field_summary + field_tags: + label: Tags + datasource_id: 'entity:node' + property_path: field_tags + type: integer + dependencies: + config: + - field.storage.node.field_tags + field_topics: + label: Topics + datasource_id: 'entity:node' + property_path: field_topics + type: integer + dependencies: + config: + - field.storage.node.field_topics + name: + label: 'Authored by » User » Name' + datasource_id: 'entity:node' + property_path: 'uid:entity:name' + type: string + dependencies: + module: + - node + - user + node_grants: + label: 'Node access information' + property_path: search_api_node_grants + type: string + indexed_locked: true + type_locked: true + hidden: true + promote: + label: 'Promoted to front page' + datasource_id: 'entity:node' + property_path: promote + type: boolean + dependencies: + module: + - node rendered_item: label: 'Rendered HTML output' property_path: rendered_item @@ -30,13 +102,24 @@ field_settings: view_mode: 'entity:node': resource: search_index - node_grants: - label: 'Node access information' - property_path: search_api_node_grants - type: string + status: + label: Published + datasource_id: 'entity:node' + property_path: status + type: boolean indexed_locked: true type_locked: true - hidden: 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' @@ -46,22 +129,6 @@ field_settings: dependencies: module: - node - field_tags: - label: Tags - datasource_id: 'entity:node' - property_path: field_tags - type: integer - dependencies: - config: - - field.storage.node.field_tags - created: - label: 'Authored on' - datasource_id: 'entity:node' - property_path: created - type: date - dependencies: - module: - - node uid: label: 'Authored by' datasource_id: 'entity:node' @@ -72,73 +139,6 @@ field_settings: 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' - property_path: field_summary - type: text - dependencies: - config: - - field.storage.node.field_summary - status: - label: Published - datasource_id: 'entity:node' - property_path: status - type: boolean - indexed_locked: true - type_locked: true - dependencies: - module: - - node - name: - label: 'Authored by » User » Name' - datasource_id: 'entity:node' - property_path: 'uid:entity:name' - 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' - property_path: field_resource_type - type: integer - dependencies: - config: - - field.storage.node.field_resource_type - promote: - label: 'Promoted to front page' - datasource_id: 'entity:node' - property_path: promote - type: boolean - dependencies: - module: - - node - field_topics: - label: Topics - datasource_id: 'entity:node' - property_path: field_topics - type: integer - dependencies: - config: - - field.storage.node.field_topics datasource_settings: 'entity:node': bundles: @@ -150,46 +150,45 @@ datasource_settings: selected: { } processor_settings: add_url: { } + aggregated_field: { } content_access: weights: preprocess_query: -45 - language_with_fallback: { } - rendered_item: { } - tokenizer: - all_fields: false - fields: - - rendered_item - - title - - field_summary - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -44 - preprocess_query: -46 + entity_status: { } html_filter: all_fields: false fields: - - rendered_item - field_summary + - rendered_item title: true alt: true tags: + b: 2 h1: 5 h2: 3 h3: 2 strong: 2 - b: 2 weights: preprocess_index: -46 preprocess_query: -47 - entity_status: { } + ignorecase: + all_fields: false + fields: + - field_summary + - name + - rendered_item + - title + weights: + preprocess_index: -49 + preprocess_query: -49 + language_with_fallback: { } + rendered_item: { } stopwords: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary stopwords: - a - an @@ -229,24 +228,25 @@ processor_settings: weights: preprocess_index: -48 preprocess_query: -50 - aggregated_field: { } - ignorecase: + tokenizer: all_fields: false fields: + - field_summary - rendered_item - title - - field_summary - - name + spaces: '' + overlap_cjk: 1 + minimum_word_size: '3' weights: - preprocess_index: -49 - preprocess_query: -49 + preprocess_index: -44 + preprocess_query: -46 transliteration: all_fields: false fields: - - rendered_item - - title - field_summary - name + - rendered_item + - title weights: preprocess_index: -47 preprocess_query: -48