Backend, APIs & data · Advanced

Search: when the database stops being enough

In one line: Free-text search with ranking, typos and multi-filter is a world of its own — and not every system needs it.

Try simple first

For lists of thousands of records, a query with the right index is entirely enough. Add a dedicated search engine when there's a real need for relevance ranking, autocomplete, or filtering across dozens of fields at once.

What sets quality

Language processing: tokenization, handling full and defective spelling, abbreviations and synonyms. In Hebrew that's the main gap between search that feels smart and search that's frustrating.

Ranking: not just word matching but freshness, popularity and the user's context. Start simple and improve by what people actually search for.

Sync

The index is a copy. Define how it updates — by event or by periodic scan — and how to rebuild it from scratch. An index you can't rebuild is a time bomb.

Going deeper

Monitor what's searched and what returns zero results. The list of empty searches is the cheapest roadmap to improvement — it shows both content gaps and synonym gaps, without having to ask anyone.