AletheiaFact / AletheiaFact/aletheia

Technical Debt: Improve Topic Search with Accent-Insensitive Matching

Ouverte
#2,144 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
tech tech-debt
Langage dominant
TypeScript
Étoiles
55
Forks
20
Merge moyen
2 j 6 h
PR mergées (30 j)
2

Description

## Problem
Currently, our topic search doesn't handle accent-insensitive matching. Searching for "politica" (without accent) doesn't match the existing topic "política" (with accent), leading to poor user experience, especially for Portuguese content where accents are common.

## Path to Explore
We need a solution that:

- Performs accent-insensitive matching at the database level
- Scales efficiently as the topics collection grows
- Doesn't load the entire collection into memory
- Maintains current functionality (limit, sorting, alias matching)

## Potential approaches to investigate:

- MongoDB collation settings for accent-insensitive queries
- Text indexes with language-specific configurations
- Normalized field strategy (storing pre-processed versions)
- MongoDB Atlas Search capabilities (if applicable)

## Impact
- User Experience: Users must type exact accents to find topics, which is cumbersome and error-prone
- Scope: Primarily affects Portuguese language searches where accents are common

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.