diff --git a/config/sync/search_api.index.ddb_fr.yml b/config/sync/search_api.index.database.yml similarity index 50% rename from config/sync/search_api.index.ddb_fr.yml rename to config/sync/search_api.index.database.yml index 18d8d53..cbd01c1 100644 --- a/config/sync/search_api.index.ddb_fr.yml +++ b/config/sync/search_api.index.database.yml @@ -1,24 +1,22 @@ -uuid: e608f1e1-47ac-4071-a222-2a0f0a3e265f +uuid: 9044a42a-bf11-44ba-8b27-fa38d99f8dba langcode: en status: true dependencies: module: - search_api_solr - node + - taxonomy - search_api config: - - field.storage.node.body - - field.storage.node.field_distributor - field.storage.node.field_famille - - field.storage.node.field_manufacturer - - field.storage.node.field_reference - - field.storage.node.field_short_description + - field.storage.node.body - field.storage.node.field_tags + - field.storage.taxonomy_term.field_synonyms - field.storage.node.field_thesaurus - search_api.server.materio third_party_settings: search_api_solr: - finalize: false + finalize: true commit_before_finalize: false commit_after_finalize: false multilingual: @@ -31,8 +29,8 @@ third_party_settings: slop: 0.5 pattern: blank maxAnalyzedChars: 10000 - usePhraseHighlighter: true - highlightMultiTerm: true + usePhraseHighlighter: false + highlightMultiTerm: false preserveMulti: false highlight: mergeContiguous: false @@ -41,94 +39,19 @@ third_party_settings: fragsize: 0 advanced: index_prefix: '' -id: ddb_fr -name: ddb_fr +id: database +name: database description: '' read_only: false field_settings: - body: - label: Description - datasource_id: 'entity:node' - property_path: body - type: text - dependencies: - config: - - field.storage.node.body - changed: - label: Changed - datasource_id: 'entity:node' - property_path: changed - type: date - dependencies: - module: - - node - field_distributor: - label: Distributor - datasource_id: 'entity:node' - property_path: field_distributor - type: text - boost: !!float 8 - dependencies: - config: - - field.storage.node.field_distributor field_famille: label: Famille datasource_id: 'entity:node' property_path: field_famille - type: text - dependencies: - config: - - field.storage.node.field_famille - field_manufacturer: - label: Manufacturer - datasource_id: 'entity:node' - property_path: field_manufacturer - type: text - boost: !!float 8 - dependencies: - config: - - field.storage.node.field_manufacturer - field_reference: - label: Reference - datasource_id: 'entity:node' - property_path: field_reference type: string dependencies: config: - - field.storage.node.field_reference - field_short_description: - label: 'Short description' - datasource_id: 'entity:node' - property_path: field_short_description - type: text - dependencies: - config: - - field.storage.node.field_short_description - field_tags: - label: Tags - datasource_id: 'entity:node' - property_path: field_tags - type: text - dependencies: - config: - - field.storage.node.field_tags - field_thesaurus: - label: Thesaurus - datasource_id: 'entity:node' - property_path: field_thesaurus - type: text - boost: !!float 13 - dependencies: - config: - - field.storage.node.field_thesaurus - nid: - label: ID - datasource_id: 'entity:node' - property_path: nid - type: integer - dependencies: - module: - - node + - field.storage.node.field_famille node_grants: label: 'Node access information' property_path: search_api_node_grants @@ -136,6 +59,14 @@ field_settings: indexed_locked: true type_locked: true hidden: true + processed: + label: 'Description » Processed text' + datasource_id: 'entity:node' + property_path: 'body:processed' + type: 'solr_text_custom:ngram' + dependencies: + config: + - field.storage.node.body status: label: null datasource_id: 'entity:node' @@ -146,11 +77,59 @@ field_settings: dependencies: module: - node + tag_name: + label: 'Tags » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'field_tags:entity:name' + type: text + boost: !!float 13 + dependencies: + config: + - field.storage.node.field_tags + module: + - taxonomy + - taxonomy + tag_synonyms: + label: 'Tags » Taxonomy term » Synonyms' + datasource_id: 'entity:node' + property_path: 'field_tags:entity:field_synonyms' + type: text + boost: !!float 13 + dependencies: + config: + - field.storage.node.field_tags + - field.storage.taxonomy_term.field_synonyms + module: + - taxonomy + thesaurus_name: + label: 'Thesaurus » Taxonomy term » Name' + datasource_id: 'entity:node' + property_path: 'field_thesaurus:entity:name' + type: text + boost: !!float 13 + dependencies: + config: + - field.storage.node.field_thesaurus + module: + - taxonomy + - taxonomy + thesaurus_synonyms: + label: 'Thesaurus » Taxonomy term » Synonyms' + datasource_id: 'entity:node' + property_path: 'field_thesaurus:entity:field_synonyms' + type: text + boost: !!float 13 + dependencies: + config: + - field.storage.node.field_thesaurus + - field.storage.taxonomy_term.field_synonyms + module: + - taxonomy title: label: Title datasource_id: 'entity:node' property_path: title - type: text + type: 'solr_text_custom:ngramstring' boost: !!float 21 dependencies: module: @@ -173,101 +152,60 @@ datasource_settings: - materiau - thematique languages: - default: true - selected: { } + default: false + selected: + - en + - fr processor_settings: add_url: { } aggregated_field: { } content_access: weights: - preprocess_query: -30 + preprocess_query: -50 + double_quote_workaround: + all_fields: true + fields: + - field_famille + - processed + - tag_name + - tag_synonyms + - thesaurus_name + - thesaurus_synonyms + - title + replacement: '|9999999998|' + weights: + postprocess_query: 0 + preprocess_index: -15 + preprocess_query: -48 entity_status: { } html_filter: - all_fields: false + all_fields: true fields: - - body - - field_distributor - field_famille - - field_manufacturer - - field_reference - - field_short_description - - field_tags - - field_thesaurus + - processed + - tag_name + - tag_synonyms + - thesaurus_name + - thesaurus_synonyms - title title: true alt: true tags: b: 2 - em: 1 h1: 5 h2: 3 h3: 2 strong: 2 - u: 1 weights: preprocess_index: -15 - preprocess_query: -15 - ignorecase: - all_fields: false - fields: - - body - - field_distributor - - field_famille - - field_manufacturer - - field_reference - - field_short_description - - field_tags - - field_thesaurus - - title - weights: - preprocess_index: -20 - preprocess_query: -20 + preprocess_query: -49 rendered_item: { } - solr_date_range: { } - tokenizer: - all_fields: false - fields: - - body - - field_distributor - - field_famille - - field_manufacturer - - field_short_description - - field_tags - - field_thesaurus - - title - spaces: '' - overlap_cjk: 1 - minimum_word_size: '3' - weights: - preprocess_index: -6 - preprocess_query: -6 - transliteration: - all_fields: false - fields: - - body - - field_distributor - - field_famille - - field_manufacturer - - field_reference - - field_short_description - - field_tags - - field_thesaurus - - title - weights: - preprocess_index: -20 - preprocess_query: -20 - type_boost: - boosts: - 'entity:node': - datasource_boost: !!float 1 - bundle_boosts: - materiau: !!float 2 - thematique: !!float 1 + solr_date_range: weights: preprocess_index: 0 tracker_settings: default: - indexing_order: lifo + indexing_order: fifo options: index_directly: true cron_limit: 50