Query by Example finds items similar to one you provide. In stores, it powers “more like this,” visual search, and compatibility lookups.
Query by Example (QBE) retrieves results using a sample item (product page, image, text snippet, or spec sheet) instead of a typed keyword. The engine converts that example into features—attributes, text tokens, and/or vectors—then finds nearest neighbors.
QBE turns a product or image into a powerful search. Use hybrid similarity with clear guardrails to surface close, in-stock alternatives users will actually buy.
QBE vs “people also bought”?
QBE is content-based similarity; “also bought” is behavioral (collaborative).
Do I need vectors?
Vectors help a lot for images/text, but keep attributes + BM25 for control and speed.
Is QBE good for accessories?
Yes—pair with compatibility rules from your knowledge graph.
See these concepts in action: semantic, typo-tolerant search for Shopify stores — implemented by Rapid Search