# Understanding synonym relationships

✨With the **Smart Product Filter & Search** app, you can improve your store's search results by using **Synonyms** — different words that mean the same thing.

But did you know you can control *how* these synonyms behave using two types of relationships?

Let’s break them down.

***

### 🔹**Inferred**&#x20;

In the **Inferred** relationship, the app will only match results from one direction.

<figure><img src="/files/ZpGAxi2iWAXClOynJ5MJ" alt=""><figcaption></figcaption></figure>

#### Example:

If you define:

```
T-shirt → Shirt
```

Then:

* A search for **T-shirt** will show results for **Shirt**
* But a search for **Shirt** will NOT show results for **T-shirt**

✅ Use this when you want one keyword to include others in the results, but not the other way around.

***

### 🔹**Equivalence**&#x20;

In the **Equivalence** relationship, the app will match both directions.

<figure><img src="/files/HTWW9EofqMLUELb2ratm" alt=""><figcaption></figcaption></figure>

#### 💡Example:

If you define:

```
T-shirt ↔ Shirt
```

Then:

* A search for **T-shirt** will show results for **Shirt**
* A search for **Shirt** will also show results for **T-shirt**

✅ Use this when all the terms should always return the same set of products.

***

### 🧠 Tips

* Use **Inferred** if you want to direct traffic from general terms to more specific ones (or vice versa).
* Use **Equivalence** when all terms mean the same thing and should return identical results.
* Keep your synonym groups clean and relevant to avoid confusing search results.

***

### 💬 Need Help?

If you need assistance or have questions, feel free to reach out:\
📧 **<contact@globosoftware.net>**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.globo.io/filter/synonyms-settings/understanding-synonym-relationships.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
