added thesaurus ordered in sapi solr database index

This commit is contained in:
2021-10-08 13:39:17 +02:00
parent aca756e64d
commit 7056bce803
5 changed files with 218 additions and 7 deletions

View File

@@ -6,6 +6,8 @@ dependencies:
- search_api_solr
- taxonomy
- node
- materio_sapi
- synonyms
- search_api
- address
config:
@@ -204,25 +206,134 @@ field_settings:
label: 'Thesaurus » Taxonomy term » Name'
datasource_id: 'entity:node'
property_path: 'field_thesaurus:entity:name'
type: solr_text_wstoken
boost: !!float 8
type: 'solr_text_custom:edgeasciistring'
boost: !!float 2
dependencies:
config:
- field.storage.node.field_thesaurus
module:
- taxonomy
thesaurus_name_0:
label: 'Thesaurus 0 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_0:entity:name'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 21
dependencies:
module:
- materio_sapi
- taxonomy
thesaurus_name_1:
label: 'Thesaurus 1 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_1:entity:name'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 13
dependencies:
module:
- materio_sapi
- taxonomy
thesaurus_name_2:
label: 'Thesaurus 2 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_2:entity:name'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 8
dependencies:
module:
- materio_sapi
- taxonomy
thesaurus_name_3:
label: 'Thesaurus 3 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_3:entity:name'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 5
dependencies:
module:
- materio_sapi
- taxonomy
thesaurus_name_4:
label: 'Thesaurus 4 » Terme de taxonomie » Nom'
datasource_id: 'entity:node'
property_path: 'thesaurus_4:entity:name'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 3
dependencies:
module:
- materio_sapi
- taxonomy
thesaurus_synonyms:
label: 'Thesaurus » Taxonomy term » Synonyms'
datasource_id: 'entity:node'
property_path: 'field_thesaurus:entity:field_synonyms'
type: solr_text_wstoken
boost: !!float 8
type: 'solr_text_custom:edgeasciistring'
boost: !!float 2
dependencies:
config:
- field.storage.node.field_thesaurus
- field.storage.taxonomy_term.field_synonyms
module:
- taxonomy
thesaurus_synonyms_0:
label: 'Thesaurus 0 » Terme de taxonomie » Synonyms list'
datasource_id: 'entity:node'
property_path: 'thesaurus_0:entity:synonyms'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 21
dependencies:
module:
- materio_sapi
- synonyms
- taxonomy
thesaurus_synonyms_1:
label: 'Thesaurus 1 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_1:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 13
dependencies:
config:
- field.storage.taxonomy_term.field_synonyms
module:
- materio_sapi
- taxonomy
thesaurus_synonyms_2:
label: 'Thesaurus 2 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_2:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 8
dependencies:
config:
- field.storage.taxonomy_term.field_synonyms
module:
- materio_sapi
- taxonomy
thesaurus_synonyms_3:
label: 'Thesaurus 3 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_3:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 5
dependencies:
config:
- field.storage.taxonomy_term.field_synonyms
module:
- materio_sapi
- taxonomy
thesaurus_synonyms_4:
label: 'Thesaurus 4 » Terme de taxonomie » Synonyms'
datasource_id: 'entity:node'
property_path: 'thesaurus_4:entity:field_synonyms'
type: 'solr_text_custom:edgeasciistring'
boost: !!float 3
dependencies:
config:
- field.storage.taxonomy_term.field_synonyms
module:
- materio_sapi
- taxonomy
thesaurus_tid:
label: 'Thesaurus » Taxonomy term » Term ID'
datasource_id: 'entity:node'
@@ -239,7 +350,7 @@ field_settings:
datasource_id: 'entity:node'
property_path: title
type: text
boost: !!float 13
boost: !!float 21
dependencies:
module:
- node
@@ -328,7 +439,17 @@ processor_settings:
- tag_name
- tag_synonyms
- thesaurus_name
- thesaurus_name_0
- thesaurus_name_1
- thesaurus_name_2
- thesaurus_name_3
- thesaurus_name_4
- thesaurus_synonyms
- thesaurus_synonyms_0
- thesaurus_synonyms_1
- thesaurus_synonyms_2
- thesaurus_synonyms_3
- thesaurus_synonyms_4
- title
- type
- uuid

View File

@@ -1,4 +1,4 @@
uuid: af25836c-6eca-4621-a803-7a7394fff660
uuid: dafb8d3b-f321-4b97-b412-40e1e6b66b25
langcode: en
status: true
dependencies: { }