central config part 2

This commit is contained in:
team2
2026-04-26 08:34:45 +02:00
parent c72b9c2e2b
commit 00ebe2fd73
8 changed files with 782 additions and 288 deletions

View File

@@ -0,0 +1,16 @@
# RetrieX configuration centralization fix
This patch centralizes additional low-risk word and pattern lists without changing their defaults.
## Changed areas
- `SearchRepairConfig` now reads repair vocabulary from `config/retriex/vocabulary.yaml` via `DomainVocabularyConfig`.
- `CommerceIntentConfig`, `IntentLightConfig`, and `SalesIntentConfig` now read their lists from `config/retriex/intent.yaml`.
- Existing PHP defaults remain in the classes as fallbacks.
- Existing scalar thresholds and prompt wording are unchanged.
## Safety notes
The YAML values mirror the previous PHP defaults 1:1. The patch is meant to simplify maintenance and configuration, not to broaden or alter matching behavior.
After installing, clear the Symfony cache and run the known 1.4.2 regression prompts.