88 lines
2.7 KiB
YAML
88 lines
2.7 KiB
YAML
# Commerce / Shopware Store API configuration.
|
|
# The existing Commerce and Shopware services stay unchanged; these values only centralize wiring.
|
|
parameters:
|
|
retriex.commerce.enabled: true
|
|
retriex.commerce.max_shop_results: '%env(SHOPWARE_STORE_API_MAX_RESULT)%'
|
|
retriex.commerce.shop_timeout: 3
|
|
retriex.commerce.store_api_base_url: '%env(SHOPWARE_STORE_API_BASE_URL)%'
|
|
retriex.commerce.sales_channel_access_key: '%env(SHOPWARE_SALES_CHANNEL_ACCESS_KEY)%'
|
|
|
|
retriex.commerce.search_repair.enabled: true
|
|
retriex.commerce.search_repair.max_queries: 2
|
|
retriex.commerce.search_repair.min_primary_results_without_repair: 2
|
|
|
|
# Shop matching and presentation configuration.
|
|
# Defaults are intentionally identical to the previous PHP values.
|
|
retriex.shop_matching.config:
|
|
top_product_log_limit: 3
|
|
|
|
# Vocabulary-backed lists live in config/retriex/vocabulary.yaml.
|
|
# The old per-key entries may still be added here to override a specific view.
|
|
|
|
scores:
|
|
exact_product_number_phrase: 160
|
|
exact_product_name_phrase: 90
|
|
exact_manufacturer_match: 40
|
|
brand_contained_in_name: 20
|
|
name_token_overlap_weight: 6
|
|
product_number_token_overlap_weight: 10
|
|
corpus_token_overlap_weight: 2
|
|
name_number_overlap_weight: 18
|
|
product_number_number_overlap_weight: 28
|
|
corpus_number_overlap_weight: 8
|
|
size_match: 12
|
|
availability_bonus: 1
|
|
device_query_device_product_bonus: 60
|
|
device_query_accessory_penalty: 120
|
|
accessory_query_accessory_product_bonus: 30
|
|
accessory_query_device_product_bonus: 10
|
|
|
|
patterns:
|
|
contains_digit: '/\d/u'
|
|
matching_cleanup: '/[^\p{L}\p{N}]+/u'
|
|
whitespace_collapse: '/\s+/u'
|
|
token_split: '/[^\p{L}\p{N}]+/u'
|
|
|
|
padding:
|
|
prefix: ' '
|
|
suffix: ' '
|
|
|
|
price:
|
|
normalization_search: ['€', ' ', '.']
|
|
normalization_replace: ['', '', '']
|
|
decimals: 2
|
|
decimal_separator: ','
|
|
thousands_separator: '.'
|
|
suffix: ' €'
|
|
|
|
custom_fields:
|
|
primary: migration_Backup_product_attr1
|
|
secondary: migration_Backup_product_attr2
|
|
use_cases: migration_Backup_product_attr4
|
|
languages: migration_Backup_product_attr5
|
|
|
|
text:
|
|
primary_secondary_separator: ': '
|
|
use_cases_label: 'Einsatzgebiete: '
|
|
languages_label: 'Sprachen: '
|
|
custom_field_join_separator: ' | '
|
|
|
|
description:
|
|
empty_line_pattern: '/^[ \t]*\R/m'
|
|
whitespace_cleanup_pattern: '/[ \t]{2,}/'
|
|
max_length: 1500
|
|
|
|
seo:
|
|
relative_prefix: '/'
|
|
|
|
highlight:
|
|
available_label: Verfügbar
|
|
unavailable_label: Nicht verfügbar
|
|
product_number_prefix: 'Produktnummer: '
|
|
|
|
image:
|
|
missing_placeholder: no-image
|
|
|
|
deduplication:
|
|
separator: '|'
|