added industriels name and country code to sapi solr index

This commit is contained in:
Bachir Soussi Chiadmi 2021-01-26 12:27:30 +01:00
parent 1ff973d995
commit 1dd65af561
1 changed files with 50 additions and 1 deletions

View File

@ -4,12 +4,15 @@ status: true
dependencies: dependencies:
module: module:
- search_api_solr - search_api_solr
- node
- taxonomy - taxonomy
- node
- search_api - search_api
config: config:
- field.storage.node.body - 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_famille
- field.storage.node.field_manufacturer
- field.storage.node.field_reference - field.storage.node.field_reference
- field.storage.node.field_tags - field.storage.node.field_tags
- field.storage.taxonomy_term.field_synonyms - field.storage.taxonomy_term.field_synonyms
@ -45,6 +48,28 @@ name: database
description: '' description: ''
read_only: false read_only: false
field_settings: field_settings:
country_code:
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: string
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: string
dependencies:
config:
- field.storage.node.field_distributor
- field.storage.taxonomy_term.field_public_address
module:
- taxonomy
field_famille: field_famille:
label: Famille label: Famille
datasource_id: 'entity:node' datasource_id: 'entity:node'
@ -62,6 +87,26 @@ field_settings:
dependencies: dependencies:
config: config:
- field.storage.node.field_reference - field.storage.node.field_reference
name:
label: 'Manufacturer » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'field_manufacturer:entity:name'
type: text
dependencies:
config:
- field.storage.node.field_manufacturer
module:
- taxonomy
name_1:
label: 'Distributor » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'field_distributor:entity:name'
type: text
dependencies:
config:
- field.storage.node.field_distributor
module:
- taxonomy
nid: nid:
label: ID label: ID
datasource_id: 'entity:node' datasource_id: 'entity:node'
@ -230,8 +275,12 @@ processor_settings:
html_filter: html_filter:
all_fields: true all_fields: true
fields: fields:
- country_code
- country_code_1
- field_famille - field_famille
- field_reference - field_reference
- name
- name_1
- processed - processed
- tag_name - tag_name
- tag_synonyms - tag_synonyms