|
@@ -5,9 +5,11 @@ dependencies:
|
|
|
module:
|
|
|
- search_api_solr
|
|
|
- taxonomy
|
|
|
+ - synonyms
|
|
|
- search_api
|
|
|
- materio_sapi
|
|
|
config:
|
|
|
+ - field.storage.taxonomy_term.field_synonyms
|
|
|
- search_api.server.database_search_autocomplete
|
|
|
third_party_settings:
|
|
|
search_api_solr:
|
|
@@ -15,7 +17,7 @@ third_party_settings:
|
|
|
commit_before_finalize: false
|
|
|
commit_after_finalize: false
|
|
|
multilingual:
|
|
|
- limit_to_content_language: false
|
|
|
+ limit_to_content_language: true
|
|
|
include_language_independent: true
|
|
|
highlighter:
|
|
|
maxAnalyzedChars: 51200
|
|
@@ -43,18 +45,26 @@ third_party_settings:
|
|
|
maxntp: 2000
|
|
|
boost: false
|
|
|
interestingTerms: none
|
|
|
+ term_modifiers:
|
|
|
+ slop: 10000000
|
|
|
+ fuzzy: 2
|
|
|
advanced:
|
|
|
index_prefix: ''
|
|
|
collection: ''
|
|
|
timezone: ''
|
|
|
- term_modifiers:
|
|
|
- slop: 10000000
|
|
|
- fuzzy: 2
|
|
|
id: autocomplete
|
|
|
name: 'autocomplete taxonomy'
|
|
|
description: ''
|
|
|
read_only: false
|
|
|
field_settings:
|
|
|
+ field_synonyms:
|
|
|
+ label: Synonyms
|
|
|
+ datasource_id: 'entity:taxonomy_term'
|
|
|
+ property_path: field_synonyms
|
|
|
+ type: 'solr_text_custom:ngramstring'
|
|
|
+ dependencies:
|
|
|
+ config:
|
|
|
+ - field.storage.taxonomy_term.field_synonyms
|
|
|
name:
|
|
|
label: Name
|
|
|
datasource_id: 'entity:taxonomy_term'
|
|
@@ -72,6 +82,14 @@ field_settings:
|
|
|
dependencies:
|
|
|
module:
|
|
|
- taxonomy
|
|
|
+ synonyms:
|
|
|
+ label: 'Synonyms list'
|
|
|
+ datasource_id: 'entity:taxonomy_term'
|
|
|
+ property_path: synonyms
|
|
|
+ type: 'solr_text_custom:ngram'
|
|
|
+ dependencies:
|
|
|
+ module:
|
|
|
+ - synonyms
|
|
|
tid:
|
|
|
label: 'Term ID'
|
|
|
datasource_id: 'entity:taxonomy_term'
|
|
@@ -106,6 +124,8 @@ processor_settings:
|
|
|
boosts:
|
|
|
'entity:taxonomy_term':
|
|
|
datasource_boost: !!float 1
|
|
|
+ bundle_boosts:
|
|
|
+ thesaurus: !!float 2
|
|
|
weights:
|
|
|
preprocess_index: 0
|
|
|
tracker_settings:
|