# Training using Search

> :::note
* Permissions required for Automation Cloud users:
  + **Source - Read** to view messages.
  + **Dataset - Read** to view labels.
  + **Dataset - Review** to apply labels.
* Permissions required for legacy users:
  + **View sources** to view messages.
  + **View labels** to view labels.
  + **Review and annotate** to apply labels.
:::

:::note
* Permissions required for Automation Cloud users:
  + **Source - Read** to view messages.
  + **Dataset - Read** to view labels.
  + **Dataset - Review** to apply labels.
* Permissions required for legacy users:
  + **View sources** to view messages.
  + **View labels** to view labels.
  + **Review and annotate** to apply labels.
:::

## Overview

The **Search** functionality in the **Discover** page is used to search for key terms and phrases. You can search for exact search terms and if they exist it will show you these followed by partial matches. This function can be used to search for alternative terms and ways of expressing the same intent or concept for each label. This can be useful if you know a relevant common term or expression that has not appeared in any of the clusters so far and want to pin a couple of examples.

Search should not be used to apply a large number of examples per search term and per label - only a few of each.

For example, the cluster in the following image is clearly about the location of the hotel, where a Location label has been predicted. If we only used this term it could bias the model towards the phrases around the word Location or similar, and we should use the **Search** feature to find alternative ways of expressing this:

  ![Example of a cluster when searching for the Location label.](https://dev-assets.cms.uipath.com/assets/images/ixp/ixp-example-of-a-cluster-when-searching-for-the-location-label-323438-a56404c0.webp)

Possible alternative search terms for Location:

* Located
* Convenient
* Position
* Proximity
* Near
* Hotel position
* Location to transport
* Transport links
* Tourist attractions
* Close to transport
* Central
* Close to airport
* Near the airport

**Searching for different terms**

The following image contains an example of how searching for alternative terms for Location highlights messages that are related to the location of the hotel but expressed differently. By doing this, the model will be given different examples of Location.

  ![This image shows an example of alternative search results for a label.](https://dev-assets.cms.uipath.com/assets/images/ixp/ixp-this-image-shows-an-example-of-alternative-search-results-for-a-label-323830-eb09b4a9.webp)

**Applying labels to search results**

  ![Annotating search results in Discover.](https://dev-assets.cms.uipath.com/assets/images/ixp/ixp-annotating-search-results-in-discover-322157-f2eca738.webp)

1. Select **Search** from the **Cluster** dropdown menu in the **Discover** tab.
2. Enter your search term and hit **Enter** or select the search icon.
3. Matching search terms will appear highlighted in orange. The platform will show full matches followed by partial matches.
4. Add all labels that should apply, not just your search results. For example, the Property > Staff label in the previous cluster.
   :::note
   Do not use this process for large numbers of messages for each label.
   :::

You can use this process sparingly for each label that has variable ways of expressing the same topic. However, there are other methods covered in the **Explore** phase that also help provide different training examples, but do not have the potential to bias your model.
