added country name to sapi index

This commit is contained in:
2021-10-11 21:35:29 +02:00
parent ed48f145dc
commit 14f2e4a9aa
4 changed files with 99 additions and 24 deletions

View File

@@ -4,16 +4,15 @@ status: true
dependencies:
module:
- search_api_solr
- materio_sapi
- taxonomy
- node
- materio_sapi
- synonyms
- 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.node.field_reference
@@ -68,28 +67,15 @@ name: database
description: ''
read_only: false
field_settings:
country_code:
label: 'Manufacturer » Terme de taxonomie » Address » The two-letter country code'
field_country_name_computed:
label: 'Country Name'
datasource_id: 'entity:node'
property_path: 'field_manufacturer:entity:field_public_address:country_code'
type: solr_text_wstoken
property_path: field_country_name_computed
type: 'solr_text_custom:edgeasciistring'
boost: !!float 3
dependencies:
config:
- field.storage.node.field_manufacturer
- field.storage.taxonomy_term.field_public_address
module:
- taxonomy
country_code_1:
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: solr_text_wstoken
dependencies:
config:
- field.storage.node.field_distributor
- field.storage.taxonomy_term.field_public_address
module:
- taxonomy
- materio_sapi
field_famille:
label: Famille
datasource_id: 'entity:node'
@@ -428,8 +414,7 @@ processor_settings:
html_filter:
all_fields: true
fields:
- country_code
- country_code_1
- field_country_name_computed
- field_famille
- field_reference
- field_short_description