> For the complete documentation index, see [llms.txt](https://docs.guardianservice.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.guardianservice.app/technical-information/users/standard-registry-users-schemas-and-policies/policies/policy-differentiation/global-search-and-comparison-ui.md).

# Global search and comparison UI

## 1. Step By Step Process

### 1.1 **Compare**

There are a several ways to select policies for comparison, all of which **do not** require/result in the importing of the policies into Guardian.

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FUWMYdjKCYHuVIm4lDjTy%2Fimage.png?alt=media&amp;token=e0958200-5d6e-4b17-a827-033e803a66f8" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FhXKb3W3qinmBYIcR188s%2Fimage.png?alt=media&amp;token=e927150e-54e6-4ebb-8f51-253084644f43" alt=""><figcaption></figcaption></figure>

Policies can be selected from different sources

Already imported (i.e. now ‘local’) policies

<figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FsvGccfAZmtr7xOXbYfny%2Fimage.png?alt=media&amp;token=424e8c19-9f2c-4a32-91ee-b54799ae76f5" alt=""><figcaption></figcaption></figure>

* by message ID<br>

  <figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FLq8OKEVQaN85XB17tIKs%2Fimage.png?alt=media&amp;token=a67e8a2c-b187-4c69-9593-d152e3040547" alt=""><figcaption></figcaption></figure>

  * from local file<br>

    <figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FDak6xpKPKgk5J2AnJztV%2Fimage.png?alt=media&amp;token=9008d544-9d2f-474f-84c8-33cb11085231" alt=""><figcaption></figcaption></figure>

    \
    **1.2 Search**<br>

    Not using content similarity criteria for searching.<br>

    <figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FPkFW4ohp73iE9HIHQdVJ%2Fimage.png?alt=media&amp;token=412eb4eb-3d16-46fb-ad95-4c356b4906ce" alt=""><figcaption></figcaption></figure>

    Searching based on the content similarity to the existing policy.\ <br>

    <figure><img src="https://3006114282-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXVOaWpJKxLZf1Tee9eCO%2Fuploads%2FwYbkqapQFkjHhip6MLSj%2Fimage.png?alt=media&amp;token=e26fa60b-3da2-438a-9e9a-f633642ef58a" alt=""><figcaption></figcaption></figure>
