How search works
A search finds the documents that match the visitor’s words, forgives typos, and widens to looser matches before it gives up. Then your settings and rules decide the order. Knowing both tells you which setting to change when a result surprises you.
How a search loosens
Section titled “How a search loosens”- Every word first. Documents with every word of the query come first, in any form your search language treats as the same word. Most searches end here.
- Typos. A misspelled word is corrected to a word your catalog uses: snekers finds sneakers. Corrections come only from your own catalog, so brand names and product codes are not turned into other words.
- Looser matches. When the full matches are too few, documents with some of the words show below them.
- Nothing found. The catalog widget says No results found and shows your popular products under Recommended for you. The search counts as a zero-result search, so you see the gap.
What search reads in a query
Section titled “What search reads in a query”Before matching, the query is read the way your collection is set up:
- Word forms. Your search language folds words to their base, so running finds runs.
- Synonyms. Your synonyms add the words your catalog uses for the ones visitors type.
- Stop words. Your stop words are dropped from the query.
- Alternative names. Each product can carry hidden alternative names, which match like the product’s own words.
- Brands typed as two words. A brand your catalog writes as one word is found when a visitor types it with a space: pro lux finds Prolux.
- Learned meaning. With Query understanding on, under 20 becomes a price filter and without glitter leaves out products with glitter.
What decides the order
Section titled “What decides the order”Your settings and rules reorder what matches. None of them can bring in a document that doesn’t match the search.
- Text match. A word found in the title counts for more than one found in the description.
- Popularity. Products people click and buy more often rise. It decides close calls.
- Smart ranking. Results people pick for one exact search rank higher for that search.
- Boosting rules. Your rules raise or lower products by their attributes.
- Semantic search, when on. It adds close matches by meaning to the first page, even ones that share no word with the query.
Custom results sit above all of this. They pin or hide documents for the queries you choose, and nothing automatic outranks them. Exclusions remove documents from every search.
What this means for you
Section titled “What this means for you”Most surprises start with matching, not order: the visitor’s word isn’t in your catalog. Add a synonym, or check the product’s alternative names on the Data page. When the right products show in the wrong order, boost a group of products or pin one for a query.
Next: Ranking settings for the switches behind these signals, or test your search to see them on your own data.