From 3fbca681375934eb1134cdf66a6e60912cf4da71 Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 25 Oct 2021 20:54:09 +0200 Subject: [PATCH] restored sapi.index.database --- config/sync/search_api.index.database.yml | 60 +++++++---------------- 1 file changed, 18 insertions(+), 42 deletions(-) diff --git a/config/sync/search_api.index.database.yml b/config/sync/search_api.index.database.yml index 42ed60c9..aa1da16c 100644 --- a/config/sync/search_api.index.database.yml +++ b/config/sync/search_api.index.database.yml @@ -97,8 +97,8 @@ field_settings: label: 'Short description' datasource_id: 'entity:node' property_path: field_short_description - type: 'solr_text_custom:asciistring' - boost: !!float 2 + type: 'solr_text_custom:edgeasciistring' + boost: !!float 8 dependencies: config: - field.storage.node.field_short_description @@ -141,8 +141,7 @@ field_settings: label: 'Description » Processed text' datasource_id: 'entity:node' property_path: 'body:processed' - type: 'solr_text_custom:edgeasciistring' - boost: !!float 0 + type: 'solr_text_custom:ngram' dependencies: config: - field.storage.node.body @@ -161,7 +160,7 @@ field_settings: datasource_id: 'entity:node' property_path: 'field_tags:entity:name' type: solr_text_wstoken - boost: !!float 2 + boost: !!float 8 dependencies: config: - field.storage.node.field_tags @@ -172,7 +171,7 @@ field_settings: datasource_id: 'entity:node' property_path: 'field_tags:entity:field_synonyms' type: solr_text_wstoken - boost: !!float 2 + boost: !!float 8 dependencies: config: - field.storage.node.field_tags @@ -194,7 +193,7 @@ field_settings: label: 'Thesaurus » Taxonomy term » Name' datasource_id: 'entity:node' property_path: 'field_thesaurus:entity:name' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 2 dependencies: config: @@ -205,7 +204,7 @@ field_settings: label: 'Thesaurus 0 » Terme de taxonomie » Nom' datasource_id: 'entity:node' property_path: 'thesaurus_0:entity:name' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 21 dependencies: module: @@ -215,7 +214,7 @@ field_settings: label: 'Thesaurus 1 » Terme de taxonomie » Nom' datasource_id: 'entity:node' property_path: 'thesaurus_1:entity:name' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 13 dependencies: module: @@ -225,7 +224,7 @@ field_settings: label: 'Thesaurus 2 » Terme de taxonomie » Nom' datasource_id: 'entity:node' property_path: 'thesaurus_2:entity:name' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 8 dependencies: module: @@ -235,7 +234,7 @@ field_settings: label: 'Thesaurus 3 » Terme de taxonomie » Nom' datasource_id: 'entity:node' property_path: 'thesaurus_3:entity:name' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 5 dependencies: module: @@ -245,27 +244,17 @@ field_settings: label: 'Thesaurus 4 » Terme de taxonomie » Nom' datasource_id: 'entity:node' property_path: 'thesaurus_4:entity:name' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 3 dependencies: module: - materio_sapi - taxonomy - thesaurus_name_ngram: - label: 'Thesaurus » Terme de taxonomie » Nom' - datasource_id: 'entity:node' - property_path: 'field_thesaurus:entity:name' - type: 'solr_text_custom:edgeasciistring' - dependencies: - config: - - field.storage.node.field_thesaurus - module: - - taxonomy thesaurus_synonyms: label: 'Thesaurus » Taxonomy term » Synonyms' datasource_id: 'entity:node' property_path: 'field_thesaurus:entity:field_synonyms' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 2 dependencies: config: @@ -277,7 +266,7 @@ field_settings: label: 'Thesaurus 0 » Terme de taxonomie » Synonyms list' datasource_id: 'entity:node' property_path: 'thesaurus_0:entity:synonyms' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 21 dependencies: module: @@ -288,7 +277,7 @@ field_settings: label: 'Thesaurus 1 » Terme de taxonomie » Synonyms' datasource_id: 'entity:node' property_path: 'thesaurus_1:entity:field_synonyms' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 13 dependencies: config: @@ -300,7 +289,7 @@ field_settings: label: 'Thesaurus 2 » Terme de taxonomie » Synonyms' datasource_id: 'entity:node' property_path: 'thesaurus_2:entity:field_synonyms' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 8 dependencies: config: @@ -312,7 +301,7 @@ field_settings: label: 'Thesaurus 3 » Terme de taxonomie » Synonyms' datasource_id: 'entity:node' property_path: 'thesaurus_3:entity:field_synonyms' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 5 dependencies: config: @@ -324,7 +313,7 @@ field_settings: label: 'Thesaurus 4 » Terme de taxonomie » Synonyms' datasource_id: 'entity:node' property_path: 'thesaurus_4:entity:field_synonyms' - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' boost: !!float 3 dependencies: config: @@ -332,17 +321,6 @@ field_settings: module: - materio_sapi - taxonomy - thesaurus_synonyms_ngram: - label: 'Thesaurus » Terme de taxonomie » Synonyms' - datasource_id: 'entity:node' - property_path: 'field_thesaurus:entity:field_synonyms' - type: 'solr_text_custom:edgeasciistring' - dependencies: - config: - - field.storage.node.field_thesaurus - - field.storage.taxonomy_term.field_synonyms - module: - - taxonomy thesaurus_tid: label: 'Thesaurus » Taxonomy term » Term ID' datasource_id: 'entity:node' @@ -358,7 +336,7 @@ field_settings: label: Title datasource_id: 'entity:node' property_path: title - type: 'solr_text_custom:asciistring' + type: 'solr_text_custom:edgeasciistring' dependencies: module: - node @@ -451,14 +429,12 @@ processor_settings: - thesaurus_name_2 - thesaurus_name_3 - thesaurus_name_4 - - thesaurus_name_ngram - thesaurus_synonyms - thesaurus_synonyms_0 - thesaurus_synonyms_1 - thesaurus_synonyms_2 - thesaurus_synonyms_3 - thesaurus_synonyms_4 - - thesaurus_synonyms_ngram - title - type - uuid