Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Diagnose search result access issues using the Search Preview UI

Use the Search Preview UI and the AI Search High Security administrator elevated privilege role to determine whether filters prevent a search user from viewing a specific search result in the AI Search index.

Before you begin

Role required: ais_admin, ais_high_security_admin, and impersonator.

About this task

Use the Search Preview UI to diagnose filter configurations that prevent a search user from seeing a specific search result in the AI Search index. First, search as the affected user in the Search Preview UI to confirm that the search result in question isn't returned for them. Next, end impersonation and repeat the search after elevating to the ais_high_security_admin role to bypass all search source and content security filters. If the desired search result appears in your elevated search, examine its search source and content security filter settings to determine why the affected user can't view it.

Note: Changing the value of the Search as User field in the Search Preview UI's User tool terminates elevated privileges for the ais_high_security_admin role. To bypass filters after changing this field's value, you must re-elevate to the ais_high_security_admin role, as directed in the following procedure.

Procedure

  1. Navigate to AI Search > Preview > Search Preview (New).

  2. Select the Search Preview UI's Profile tool

Image omitted: search-preview-new-icon-user.png
and enter the affected user's name into the **Search as user** field.
**Note:** For more details on the **Search as user** field, see [Search Preview admin tools](search-preview-ui-new-admin-tools.md).
  1. In the Preview types list, select Full visual view.

  2. In the Search mode list, select the mode used by the search application configuration for the portal or search application where the affected user is unable to see the search result in question.

  3. In the Search Application list, select the search application configuration for the portal or search application where the affected user is unable to see the search result in question.

  4. In the Card view list, select Result cards with details.

  5. Enter the search query of interest into the search input field and press Enter or select the Submit search icon

Image omitted: search-preview-new-icon-submit-search.png
to search as the affected user.
Search results appear, matching those seen by the affected user for the search query of interest in the selected portal or search application. Some results that match your search terms may be hidden by search source or content security filters.
  1. Elevate to the ais_high_security_admin role:

    1. Perform the appropriate action for your version of the UI:
UI versionAction
Next Experience UI

In the banner frame, select the icon for your account to open the user menu, then select Elevate role.

Image omitted: elevate-role-polaris-ui.png
User menu with Elevate role action highlighted in Next Experience UI.</p></td></tr><tr><td>
Core UI
In the banner frame, select your name to open the user menu, then select Elevate Roles.
Image omitted: adv-ais-tools-user-menu-before.png
User menu with Elevate Roles action highlighted in Core UI.</td></tr></tbody>
    A dialog box appears, displaying a checklist of your available privileged roles.
Image omitted: elevate-role-dialog-polaris-ui-ais.png
Dialog box displaying privileged roles in Next Experience UI.
2.  In the dialog box, select the **ais\_high\_security\_admin** option, then select **Update** \(in Next Experience UI\) or **OK**.

    The page reloads and an elevated role indicator appears next to your user name in the user menu. In Next Experience UI, this indicator displays the names of the active privileged roles. In Core UI, the indicator displays the elevated role icon
Image omitted: icon-elevated-role-ui16.png
.
Image omitted: elevated-polaris-ui.png
User menu showing elevated role indicator in Next Experience UI.
    **Note:** When the page reloads, any unsaved edits are lost.
  1. Repeat the search of interest without impersonating the affected user.

    Search results appear with no search source or content security filters applied.

What to do next

Compare the two search result sets. If the search result in question appears only in the elevated search, a search source or content security filter prevents the affected user from viewing that result. If the search result doesn't appear in either search, it's not present in the AI Search index.

If the search result in question is indexed from an external document, you can debug the external content security access permission filter for the affected user to see whether it prevents access to the search result. For details on this procedure, see Debug external content security filters for a ServiceNow AI Platform user.

Parent Topic:Administering AI Search

sndocs is an independent community mirror and is not affiliated with or endorsed by ServiceNow.

ServiceNow, the ServiceNow logo, Now, and other ServiceNow marks are trademarks and/or registered trademarks of ServiceNow, Inc., in the United States and/or other countries. Other company and product names may be trademarks of the respective companies with which they are associated.

© 2026 ServiceNow, Inc. All rights reserved.

Documentation content is redistributed under the Apache License 2.0 from the ServiceNowDocs repository.