Keyword search finds results by matching the words in your query. In stores, it’s fast and precise for titles, brands, and model codes—especially when paired with phrase/bigram fields and exact SKU handling.
Keyword search (lexical search) retrieves documents by matching tokens from the query to tokens in indexed fields. It relies on analyzers, TF-IDF/BM25 scoring, phrase/bigram logic, and optional fuzzy matching for minor typos.
"air max 270"
), bigram fields, exact keyword fields (SKU/MPN), fuzzy tolerance for typos."air max 270"
→ phrase match in title/attributes outranks generic “air” + “max”.sku:"AB-1234"
→ exact field match.gore tex jacket
→ normalized to match GORE-TEX titles.Keyword search is the reliable backbone of storefront retrieval. With good analyzers, phrase/bigram fields, careful fuzziness, and synonym management, it delivers fast, precise results—and pairs perfectly with semantic re-ranking.
Keyword vs semantic search?
Keyword matches words; semantic uses embeddings to match meaning. The best stacks are hybrid.
Do I still need BM25 with vectors?
Yes—lexical recall is fast, cheap, and precise; vectors add meaning, then re-rank.
Where do boosters fit?
After retrieval: apply custom ranking (stock, rating, margin) or learning-to-rank.