Skip to content

Hide results and ignore words

The Exclusions page of a collection holds two tools. Exclusion rules hide documents from every search while they stay in your catalog. Stop words are words search drops from a visitor’s query.

You wantUse
A product never to show upAn exclusion rule
A word in the query not to countA stop word
A product to show up, only lowerA boosting rule with a multiplier below 1
  1. Open Collections → your collection → Exclusions.

  2. Under Exclusion rules, click Add rule and pick a field.

  3. Pick an operator and a value. The choices depend on the field’s type, in the table below.

  4. To hide more, click Add condition. A document is hidden as soon as it matches any condition.

  5. Click Save changes at the top of the page.

The Exclusions page with no exclusion rules yet and an empty Stop words list
Exclusion rules and stop words share one page

The count under the conditions shows how many products they match right now.

Field typeOperators
Text, such as title or descriptioncontains, does not contain, followed by a word or phrase
Values, such as brand or categoryis, is not, followed by one or several values. Each shows how many documents carry it; you can also type one the list lacks.
Number, such as price or stock=, ≠, >, ≥, <, ≤
Yes/no, such as in stockis Yes or No

Rules that come up often:

  • title contains speciale fiera for duplicate event listings.
  • category is discontinued for retired lines.
  • category is internal, b2b-only for records never meant for visitors.
  • season is winter in July. Remove it when stock rotates back.
CaseWhat happens
containsMatches words, not letters. speciale fiera hides documents with those two words side by side, in that order, in any letter case and any form of the words.
does not containHides every document without the phrase, so only documents with it stay in search.
Where it appliesEvery search in the collection, the AI assistant’s included.
Hidden documentsStay in the collection and keep syncing price and stock. Remove the rule and they return at once, with no re-import.
Rules set through the APIA rule this editor can’t show appears as code with Clear and edit here, which replaces it.

For developers: the rules are the collection’s exclude, a search filter set with PATCH /v1/collections/{id}.

Search treats every word of a query as meaningful. A stop word is dropped from the query first, so a filler such as for or the stops deciding what matches.

  1. On the same Exclusions page, type a word under Stop words.

  2. Click Add.

CaseWhat happens
Built-in listNone. Typemo ships no stop words, so add only the words that are noise in your catalog.
ScopeThis collection only: what is noise in one catalog carries meaning in another.
Letter case and duplicatesWords are saved in lowercase; a word already on the list is skipped.
Your documentsUnchanged. Stop words are dropped from the visitor’s query, not from your content.
A query of only stop wordsFinds nothing: a visitor who types just ltd gets no results if ltd is on the list.
When it appliesThe next search.

On Test your search, search an excluded product by name: it should stay out. For a stop word, search a phrase with and without it: the results should match.

Next: Boost results to rank products lower instead of hiding them, or test your search.