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:
@ -83,7 +83,7 @@ test('admin creates a user who follows a fake company and generates a private su
|
||||
await page.goto(new URL('/assets', baseURL).href)
|
||||
const oldFollows = page.getByRole('region', { name: /autres suivis existants/i })
|
||||
await expect(oldFollows).toContainText('Historic index follow')
|
||||
const query = page.getByRole('textbox', { name: "Nom de l'entreprise" })
|
||||
const query = page.getByRole('textbox', { name: 'Nom ou nom courant de l’entreprise' })
|
||||
await query.fill(fixture.companyQuery)
|
||||
await page.getByRole('button', { name: 'Rechercher' }).click()
|
||||
const results = page.getByRole('region', { name: 'Résultats des entreprises' })
|
||||
|
||||
Reference in New Issue
Block a user