feat(search): add exact company aliases

Embed a versioned local alias overlay and rank exact aliases before legal-name matches and word prefixes. Normalize Unicode consistently, deduplicate by company identity before limiting, and update bilingual search guidance and tests.

Refs #24

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 18:08:35 +01:00
parent 64a7124889
commit f7b057efa3
13 changed files with 413 additions and 43 deletions

View File

@ -11,6 +11,7 @@ require (
github.com/robfig/cron/v3 v3.0.1
github.com/sashabaranov/go-openai v1.36.1
golang.org/x/crypto v0.32.0
golang.org/x/text v0.21.0
)
require (
@ -49,7 +50,6 @@ require (
golang.org/x/arch v0.8.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/text v0.21.0 // indirect
google.golang.org/protobuf v1.36.3 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)