patched address modules to get the full form of country_code in sapi index

This commit is contained in:
Bachir Soussi Chiadmi 2021-02-24 14:58:45 +01:00
parent 182b61b08f
commit 8668974419
2 changed files with 20 additions and 8 deletions

View File

@ -167,6 +167,9 @@
},
"drupal/flag_lists": {
"webprofiler ConfigEntityStorageDecorator given https://www.drupal.org/project/flag_lists/issues/3198936": "https://www.drupal.org/files/issues/2021-02-17/entitystorageinterface.patch"
},
"drupal/address": {
"Integrate Address with Search API https://www.drupal.org/project/address/issues/2812659": "https://www.drupal.org/files/issues/2020-11-02/integrate-address-searchapi-2812659-56.patch"
}
},
"drupal-scaffold": {

View File

@ -7,13 +7,14 @@ dependencies:
- taxonomy
- node
- search_api
- address
config:
- field.storage.node.body
- field.storage.node.field_distributor
- field.storage.taxonomy_term.field_public_address
- field.storage.node.field_famille
- field.storage.node.field_manufacturer
- field.storage.taxonomy_term.field_public_address
- field.storage.node.field_distributor
- field.storage.node.field_famille
- field.storage.node.field_reference
- field.storage.node.body
- field.storage.node.field_tags
- field.storage.taxonomy_term.field_synonyms
- field.storage.node.field_thesaurus
@ -68,7 +69,7 @@ field_settings:
label: 'Manufacturer » Terme de taxonomie » Address » The two-letter country code'
datasource_id: 'entity:node'
property_path: 'field_manufacturer:entity:field_public_address:country_code'
type: 'solr_text_custom:edgestring'
type: solr_text_wstoken
dependencies:
config:
- field.storage.node.field_manufacturer
@ -79,7 +80,7 @@ field_settings:
label: 'Distributor » Terme de taxonomie » Address » The two-letter country code'
datasource_id: 'entity:node'
property_path: 'field_distributor:entity:field_public_address:country_code'
type: string
type: solr_text_wstoken
dependencies:
config:
- field.storage.node.field_distributor
@ -265,6 +266,11 @@ datasource_settings:
- fr
processor_settings:
add_url: { }
address_abbreviations_to_full_form:
all_fields: false
weights:
preprocess_index: -20
preprocess_query: -20
aggregated_field: { }
content_access:
weights:
@ -272,14 +278,17 @@ processor_settings:
double_quote_workaround:
all_fields: true
fields:
- country_code
- country_code_1
- field_famille
- field_reference
- name
- name_1
- processed
- tag_name
- tag_synonyms
- tag_tid
- thesaurus_name
- thesaurus_synonyms
- thesaurus_tid
- title
- uuid
replacement: '|9999999998|'