Compound Words
After exact matching and typo correction, the search engine can also try compound and split forms of the query words. This is controlled by a single setting, split_join_tokens, which lives under the typo_tolerance attribute of a search profile.
Compound Words (split_join_tokens)
Shoppers do not know whether your products are named waterproof or water proof. split_join_tokens controls whether the search engine treats compound words and their split forms as equivalent, by generating split variants (nonstick → non stick) and joined variants (water proof → waterproof) of the query:
fallback(default): try the query as typed first; only generate split/joined variants when results are insufficient.always: always generate split/joined variants alongside the original query.off: never generate split/joined variants.
Consider three products — waterproof, water proof jacket, and non stick skillet:
| Query | off | fallback (default) | always |
|---|---|---|---|
waterproof | waterproof only | waterproof only — the exact match is sufficient | waterproof and water proof jacket |
nonstick | Nothing | non stick skillet — no exact match, so the split is tried | non stick skillet |
{ "typo_tolerance": { "split_join_tokens": "always" } }