Query transformation rewrites a user’s input into a better query. In stores, it adds synonyms, fixes typos, normalizes units, and turns natural language into filters.
Query transformation is the set of rewrites and enrichments applied to a raw query before retrieval and ranking. It includes normalization, spell correction, synonym expansion, phrase/entity detection, unit/currency conversion, and operator parsing (e.g., “under €150” → price ≤ 150).
Query transformation turns messy input into a structured, context-aware query plan. Keep rewrites late-bound, safe, and explainable to boost recall and speed without sacrificing precision.
Query transformation vs query understanding?
Understanding extracts meaning; transformation applies the rewrites and builds the executable plan.
Does it hurt reproducibility?
Version and log all rules/weights; keep a baseline (no-rewrite) for comparisons.
Where do vectors fit?
Use transformation to structure filters/phrases; then run hybrid retrieval (lexical + vectors) and re-rank.