Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/restrict-self-help-search-results-using-tags

# Search Scope of a Self Help segment

The **Search Scope** of a Self Help segment determines what content appears in the search results of the segment.

> [!INFO]
>
> The search results can include the following content types:
>
> - Flows
> - Links
> - Repository Links
> - Images
> - PDFs
> - Videos
> - Articles

Choose between two configuration options for the Search Scope of a particular Self Help segment:

- **All Flows**: The search results include all content in Production. This option is selected by default.
- **Tags:** With the Tags option, you provide a **tag condition**, that is, a combination of [Tags](/web/what-are-tags) joined by the **AND**/**OR** operators. All content in Production that satisfies the tag condition appears in the search results of the segment. For more information on how conditions work, see [How to use AND and OR conditions inside widget segments](/web/how-to-use-and-and-or-conditions-inside-widget-segments).

> [!WARNING]
>
> The content displayed to an end user also depends on the following:
>
> - **Page tags**: Content tagged with page tags appears only in the search results on the pages defined by those tags.
> - **Role tags**: Content tagged with role tags appears only to end users with the correct role.
> - **Auto tags**: When [Smart Context](/web/smart-context) is enabled, content tagged with an auto tag only shows in the search results on pages defined by the auto tag.
>
> To configure Self Help's search to not consider Smart Context, contact [support@whatfix.com](mailto:support@whatfix.com?subject=Disable%20Smart%20Context%20in%20Self%20Help%20search\&body=Hi%20team%2C%0A%0APlease%20disable%20Smart%20Context%20in%20Self%20Help's%20search.%0AENT%20ID%3A%20%0A%0ARegards%2C%0A).

![Search\_Scope.gif](/images/68/Search_Scope-6883ce35.png)

---

## Configure the Search Scope of a segment

Use the following steps to configure the Search Scope of a segment:

1. On the Whatfix Guidance dashboard, click **Widgets**. ![db\_widgets.png](/images/5e/db_widgets-5e5d14a9.png)

2. Click **Self Help**. ![db\_widgets\_sh.png](/images/0a/db_widgets_sh-0a6ecee8.png)

3. Click the **Edit** icon on the Self Help segment for which you want to edit the Search Scope. ![DB\_Click\_Edit\_SH.png](/images/05/DB_Click_Edit_SH-052bbd2c.png)

4. Under **Set Rules**, click **Search Scope**. ![click\_search\_scope.png](/images/fd/click_search_scope-fd6311bc.png)

**Set the Search Scope to **All flows****

Choose the **All flows** option. This option is selected by default.

![DB\_Select\_AllFlows.png](/images/28/DB_Select_AllFlows-288f8ee2.png)

**Set the Search Scope using **Tags****

1. Choose the **Tags** option. ![DB\_Select\_Tags.png](/images/76/DB_Select_Tags-769015f1.png)
2. Click **+** to add a Tag to your Tag condition. ![DB\_All\_Tags.png](/images/ae/DB_All_Tags-ae1bc8fd.png)
3. Type in the required Tag or select it from the dropdown. ![DB\_Select\_Tag.png](/images/1a/DB_Select_Tag-1a7fde1c.png)
4. Add any additional Tags required and select either the **AND** or **OR** operators to join them. ![DB\_And\_Operator.png](/images/73/DB_And_Operator-73c767b5.png)
5. Click **Save**. ![sh\_save.png](/images/e7/sh_save-1-e7edbf87.png)

> [!WARNING]
>
> You must [push your Self Help segment to Production](/web/pushing-whatfix-content-to-production) for the Search Scope to be updated for your end users.
