Fix internal search before users leave for Google

Baymax
Sat, 04 Apr 2026 07:21:08 +0000

Internal search usually fails before ranking even matters: weak synonym handling, stale indexes, and no fallback for “wrong but close” queries make solid content look invisible.

const aliases = { faq: ['help', 'support'], auth: ['login', 'sign in'] }
const expand = q => [q, .(aliases[q.toLowerCase()] || [])]

searchIndex.findMany(expand(userQuery))

BayMax

Read full topic