Extend system search to include local e-conomic customer index fields, synonym expansion (e.g., rabat -> discount), and enhanced entity matching. Update OpenAPI spec, unit tests, and cron sync tasks accordingly.

This commit is contained in:
Jeppe Bundgaard
2026-03-13 00:59:40 +01:00
parent efc5906974
commit 5be31bee1c
5 changed files with 326 additions and 33 deletions
@@ -41,3 +41,10 @@ it('documents debug_intent and parser metadata schema in openapi', function ():
expect($content)->toContain('intent_parser:');
expect($content)->toContain('SystemSearchResponse:');
});
it('documents e-conomic indexed customer matching and synonym behavior', function (): void {
$content = system_search_openapi_content_or_skip();
expect($content)->toContain('local e-conomic customer index');
expect($content)->toContain('`rabat` -> `discount`');
});