harden queries

This commit is contained in:
team 1
2026-04-09 20:10:41 +02:00
parent 1aee32f1d8
commit 521f8bd5a3
5 changed files with 38 additions and 108 deletions

View File

@@ -40,12 +40,14 @@ final class CommerceIntentLite
'shop',
'sku',
'Artikel',
'Gerät'
'Gerät',
'testomat',
'indikator'
];
foreach ($strongSignals as $signal) {
if (str_contains($p, $signal)) {
$score += 2;
if (str_contains($p, strtolower($signal))) {
$score += 3;
$signals[] = $signal;
}
}