This commit is contained in:
team 1
2026-05-05 17:17:35 +02:00
parent 542b527261
commit ed11e6e9c8
4 changed files with 147 additions and 24 deletions

View File

@@ -93,13 +93,19 @@ final class SearchRepairConfig
/** @return string[] */
public function getRequestedAccessoryCodeFallbackTerms(): array
{
return $this->requiredStringList('requested_accessory_code_fallback_terms');
return $this->configOrVocabularyStringList(
'requested_accessory_code_fallback_terms',
'search_repair.requested_accessory_code_terms'
);
}
/** @return string[] */
public function getRequestedAccessoryCodeContextPrefixTerms(): array
{
return $this->requiredStringList('requested_accessory_code_context_prefix_terms');
return $this->configOrVocabularyStringList(
'requested_accessory_code_context_prefix_terms',
'search_repair.requested_accessory_code_terms'
);
}
public function getRequestedAccessoryCodeProximityWindow(): int
@@ -116,7 +122,10 @@ final class SearchRepairConfig
/** @return string[] */
public function getModelCandidateExcludeTerms(): array
{
return $this->requiredStringList('model_candidate_exclude_terms');
return $this->configOrVocabularyStringList(
'model_candidate_exclude_terms',
'search_repair.model_candidate_exclude_terms'
);
}
public function getTopProductLogLimit(): int