7546c3a9dc971af4d4b451e1be31d6af7768380a
Backend: Use ts_rank_cd with A/D weights so name matches rank above description matches. Switch to 'simple' text search config with :* prefix suffix for partial word matching (e.g. "toma" finds "Tomate"). Include bilingual DE/EN fields in search vectors. Cultivar search JOINs species so "tomato" finds tomato cultivars. Return extra metadata: plant_layer, food_uses, species_name, is_organic, snippet. Frontend: Show colored entity type badges (Familie/Art/Sorte). Display localized common names, plant layer tags, food uses for species, species link + organic badge for cultivars, and truncated description snippets. Add DE/EN i18n keys for search result type labels.
Description
HerbAPI — Trilingual Plant Reference Database
Languages
Rust
56.3%
Python
38%
CSS
5.6%