> For the complete documentation index, see [llms.txt](https://docs.superdesk.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/searching-content-in-superdesk.md). Agents can also search and read this documentation through its [MCP server](https://docs.superdesk.org/~gitbook/mcp).

# Searching Content in Superdesk

Superdesk has a built-in search for finding news items. Search covers newly ingested content, items in production, published items and archived items: articles, pictures, videos, audio and packages. Each desk also has its own search box in the Monitoring view. To search the whole of Superdesk, use the **Search** icon in the Workspace Panel.

## Opening Search

Click the **Search** icon in the Workspace Panel, or press **Ctrl+Alt+F** anywhere in Superdesk. When you hover over the icon, a menu may list other places you can search, such as external search providers and search shortcuts. See [Search shortcuts](#search-shortcuts).

<figure><img src="https://1128240491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZhE676hWpByB99kC4Us%2Fuploads%2Fgit-blob-d9ec76d34bc555f089b98b85dbe3a55b817d2399%2Fsearch-page.png?alt=media" alt="The Search page with the advanced search panel open on the left and the results list on the right" width="999"><figcaption><p>The Search page</p></figcaption></figure>

The header of the Search page has, from left to right:

* the **Toggle filters** button (a funnel), which opens and closes the advanced search panel,
* the source dropdown, which shows **Superdesk** or the search provider you are using,
* the search box,
* the total number of results and the sort control,
* the view switcher.

What you find depends on your role. If your role does not have the **Global searches** privilege, Search only shows content from the desks you are a member of. Items in stages that a desk hides from non-members are only shown to members of that desk.

## Searching by keyword

Type one or more words in the search box and press Enter. Superdesk finds the items that contain all of the words you typed. To find words that appear next to each other, put them in double quotes, for example `"election budget"`.

### How your words are matched

*Available since Superdesk 2.5.*

Your words do not have to be in the same field. A search for `giraffe zoo` also finds an item with *giraffe* in the headline and *zoo* in the body.

The search box also finds items by the name of their author, as it appears in the item's author field.

### Highlighted search terms

If your Superdesk has search highlighting turned on, the words you searched for are highlighted in the results. Highlights show in the headline, slugline, abstract and body of ingested, production and published items, both in the results list and in the preview. The same applies when you search in the Monitoring view (since 2.4).

<figure><img src="https://1128240491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZhE676hWpByB99kC4Us%2Fuploads%2Fgit-blob-6996134a9ea12ab559c029f118bd351350e4601a%2Fsearch-highlights.png?alt=media" alt="Search results for the word election, with the matching words highlighted in the headlines and the search tag shown above the list" width="1496"><figcaption><p>Search terms highlighted in the results</p></figcaption></figure>

## Advanced search

Click **Toggle filters** (the funnel at the left of the header) to open the advanced search panel. The panel has up to three tabs:

* **Advanced Search**, with parameters and filters,
* **Saved**, with your saved searches and the global ones. You see it if your role can manage saved searches.
* **Raw**, a free query box for administrators. See [Raw search](#raw-search).

### Choosing where to search

At the top of the **Advanced Search** tab, four buttons choose which content is searched: **Ingest**, **Production**, **Published** and **Archived**. A highlighted button is included in the search. Click a button to include or exclude that content. For example, to search only newly ingested content, leave only **Ingest** highlighted.

The four buttons match the places where Superdesk keeps content. **Ingest** holds items that arrived from feeds and have not been fetched to a desk yet. **Production** holds the items on desks and in personal spaces. **Published** holds published items for as long as their expiry time runs. When that time is up, Superdesk moves them to **Archived**, a separate long-term store where they stay searchable. Your administrator sets the expiry times, see [Content expiry](https://github.com/superdesk/superdesk-docs-user-guide/tree/main/superdesk-user-guide/administration/defining-publishing-in-superdesk/publish-queue-legal-archive-and-content-expiry.md#content-expiry).

Below these buttons are two tabs, **Parameters** and **Filters**.

{% tabs %}
{% tab title="Parameters" %}
Fill in one or more fields and click **Search** at the bottom of the panel. You can also press Enter in any text field.

* **Slugline**: searches only the slugline.
* **Headline**: searches only the headline. You can enter the full headline or some of its words.
* **Story Text**: searches the body of the item.
* **Unique Name**: finds the item with this unique name. Enter it exactly as it appears in the item's metadata. By default the unique name is a number, but it can be edited.
* **Byline**: searches the byline field. You can enter the full byline or part of it.
* **Subject** and other controlled vocabularies: click the field and pick values from the list. Which vocabularies appear here depends on your installation.
* **Marked Desks**: finds items that were marked for one or more desks with **Mark for desk**. Items marked for a desk show a bell icon in lists. Save this search to follow everything marked for your desk.
* **Keywords**: finds items with the keywords you pick.
* **From Desk**: the desk the item came from.
* **To Desk**: the desk the item was sent to.
* **Creator**: the user who created the item. This field only appears when **Production** is selected.
* **Spiked Content**: **Exclude spiked content** (the default), **Include spiked content** or **Spiked only content**.
* **Provider**: the ingest source the item came from.
* **Feature Media**: turn this on to find only items that have a feature image or other feature media.

Your administrator can add a **Sign-off** field or hide fields you do not use, so your list can differ.
{% endtab %}

{% tab title="Filters" %}
Filters narrow the current results. Each filter group lists the values found in the results, with the number of matching items next to each value. Click a value to include it. Click the ban icon next to a value (**Negate**) to exclude it instead.

The filter groups are:

* **Content types**: text, picture, composite (packages), video, audio and other types,
* **Languages**,
* **Desks**,
* **Sources**,
* **Credits**,
* **Category**, **Genre**, **Urgency** and **Priority** (the names follow your vocabularies),
* **Flags**: **Legal** and **Sms**,
* **Date created**, **Date modified** and **Date published**: click **Last 24 Hours**, **Last 7 Days** or **Last 30 Days**, or set a range with the from and to date pickers,
* **Date scheduled**, for scheduled items.

A group only appears when the current results have values for it.

<figure><img src="https://1128240491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZhE676hWpByB99kC4Us%2Fuploads%2Fgit-blob-abee37356e43305fee4f7015bad734b4d56e661f%2Fadvanced-search-filters.png?alt=media" alt="The Filters tab of the advanced search panel with the Content types, Desks, Category and Urgency groups" width="255"><figcaption><p>The Filters tab</p></figcaption></figure>
{% endtab %}
{% endtabs %}

### Search tags

Every keyword, parameter and filter you use appears as a tag above the results. Click the cross on a tag to remove it and widen the search. To remove everything at once, click **Clear filters** at the bottom of the advanced search panel.

## Sorting and changing the view

The header shows the total number of results. Click **Sort by** to sort the results by **Updated**, **Created**, **Urgency**, category, **Slugline**, **Priority** or **Genre**. Click the arrow next to it to switch between ascending and descending order.

Results are shown in **List View** by default. Use the view switcher at the right of the header to change to **Photo Grid View**, which is best for pictures and other media, or to **Compact View** if your installation offers it. You can also press **V** to switch views. See [Monitoring Tab](https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/monitoring-tab.md#choosing-a-list-view) for what each view looks like.

## Finding translations

Translations are linked to the item they were translated from. In the results list:

* A translated item shows a **Translation** label. Click it to see the **Original Article**.
* An item that has been translated shows the number of its translations, for example **(2) Translations**. Click it to see each translation with its language code.

Click a headline in that list to preview the item. To narrow the results to one language, use the **Languages** filter on the **Filters** tab.

Whether the translation labels appear in your lists depends on how your administrator has set up the list fields. To translate an item and move between an original and its translations, see [Translating content](https://github.com/superdesk/superdesk-docs-user-guide/tree/main/superdesk-user-guide/content-management/translating-content.md#finding-translations-in-search).

## Saved searches

If you run the same search often, save it. A saved search keeps the keywords, parameters and filters you used. You can run it again from the **Saved** tab, show it as a group in Monitoring, and subscribe to it by email.

### Saving a search

{% stepper %}
{% step %}

### Run the search

Enter your keywords, parameters and filters. When a search is active, **Clear filters** and **Save Search** appear at the bottom of the advanced search panel.
{% endstep %}

{% step %}

### Click Save Search

The **Save search** form opens.
{% endstep %}

{% step %}

### Name it

Enter a **Name** (required) and, if you like, a **Description**. Turn on **Make global** to share the search with everyone. If your installation uses search shortcuts, a global search can also be made a **Search shortcut**.
{% endstep %}

{% step %}

### Click Ok

The search is saved and appears on the **Saved** tab.
{% endstep %}
{% endstepper %}

<figure><img src="https://1128240491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZhE676hWpByB99kC4Us%2Fuploads%2Fgit-blob-2f8448d03538020074cede47344d2891f4add605%2Fsave-search.png?alt=media" alt="The Save search form with the Name and Description fields and the Make global switch" width="458"><figcaption><p>Saving a search</p></figcaption></figure>

### Private and global saved searches

* A **private** saved search is only visible to you.
* A **global** saved search is visible to all users. Only global saved searches can be added to a desk's Monitoring view. See [Saved searches in Monitoring](#saved-searches-in-monitoring).

### Using, editing and deleting saved searches

Open the advanced search panel and click the **Saved** tab. **My Saved Searches** lists the searches you created. Your global ones are marked **\[Global]**. **Global Saved Searches** lists the global searches of other users, with the name of the user who created each one. Use the **Search saved searches** box to find one by name.

<figure><img src="https://1128240491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZhE676hWpByB99kC4Us%2Fuploads%2Fgit-blob-889e153287ec5833f74f9e0310516ff6f814072c%2Fsaved-searches.png?alt=media" alt="The Saved tab with My Saved Searches and Global Saved Searches, each with edit, delete and Subscribe links" width="700"><figcaption><p>The Saved tab</p></figcaption></figure>

* **Run** a saved search by clicking its name.
* **Edit** it with the pencil icon (**Edit search**). Change the parameters or filters, then click **Save Changes**, or **Save As** to keep the original and save a copy. Click **Back / Cancel** to leave without saving.
* **Delete** it with the bin icon (**Delete search**) and confirm.

You can edit and delete your own saved searches. Editing or deleting another user's global saved search needs the **Manage Global Saved Searches** privilege.

### Search shortcuts

If your installation uses search shortcuts, a global saved search can be marked as a **Search shortcut**. Shortcuts appear in the menu that opens when you hover over the **Search** icon, and in the source dropdown in the Search header, next to the search providers. Click one to run it.

### Subscribing to a saved search

You can get a regular email with the items that match a saved search.

{% stepper %}
{% step %}

### Find the saved search

On the **Saved** tab, hover over the search and click **Subscribe**, which appears under it.
{% endstep %}

{% step %}

### Choose when you get the email

In the **New subscription** window, under **Schedule**, choose **Every day** or **Select days**. Under **Time**, choose **Every hour** or **Select hours**.
{% endstep %}

{% step %}

### Click Subscribe

The search now shows a **Subscribed** label. Superdesk emails you a **Saved searches report** at the times you chose.
{% endstep %}
{% endstepper %}

<figure><img src="https://1128240491-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZhE676hWpByB99kC4Us%2Fuploads%2Fgit-blob-3e879ecddf23aa159fb6486d867dfebc05657dd1%2Fsaved-search-subscription.png?alt=media" alt="The New subscription window with the Schedule and Time options" width="856"><figcaption><p>Subscribing to a saved search</p></figcaption></figure>

To change or stop a subscription, click **Manage subscription** under the search. The window shows when the last report was sent. Click **Update subscription** to save changes, or **Unsubscribe** to stop the emails.

Users with the **Manage Saved Searches Subscriptions For Other Users** privilege can also subscribe other users and whole desks. Edit the saved search and click **Manage** next to the number of subscriptions. In the **Manage** window, click **Add new**, search for a user or a desk, and set the schedule. When a desk is subscribed, every member of the desk gets the email.

### Saved searches in Monitoring

A saved search can be shown as a group in the Monitoring view, next to the stages. The group lists every item that matches the search and updates like any other group. See [Monitoring Tab](https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/monitoring-tab.md#groups-in-the-monitoring-view).

* In a **custom workspace**, open the workspace setup with the gear icon and go to the **Saved Searches** step. You can add both global and your private saved searches.
* In a **desk's** Monitoring view, an administrator adds saved searches in the desk's monitoring settings. Only global saved searches can be used there, because every member of the desk sees the same groups.

Saved searches can also be shown in a Monitoring widget on your dashboard. See [Dashboards and Widgets](https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/dashboards-and-widgets.md).

If you want an overview of the work on every desk rather than a list of items, use [Master Desk](https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/master-desk.md).

## Raw search

The **Raw** tab is only available to administrators. It has a **Query Text** box for queries in the Elasticsearch query string syntax. Use it for searches the parameters and filters cannot express. Type the query and press Enter. Some examples:

* `urgency:<=2` finds items with urgency 1 or 2.
* `type:text OR type:picture` finds only text and picture items.
* `_exists_:slugline` finds items that have a slugline.
* `firstpublished:{now-24h TO now}` finds items first published in the last 24 hours.
* `authors.sub_label:Holt` finds items with an author called Holt.

A raw search can be saved like any other search. The saved search then has a **Query** field with the raw query.

## Searching on your desk

To search only the items in your desk's workflow, use the search box at the top of the Monitoring view. It narrows all groups to the items that match. The Spiked Items view has its own search box for the items spiked from your desk. See [Monitoring Tab](https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/monitoring-tab.md#searching-and-filtering) and [Spiked Items](https://docs.superdesk.org/user-guide/superdesk-user-guide/content-management/spiked-items.md).

## For administrators

* **Privileges** (in **Settings** > **User Roles**):
  * **Global searches** lets users search Superdesk content on all desks. Without it, searches only return content from the user's own desks, and the **Search** icon only lists external search providers.
  * **Manage Saved Searches** shows the **Saved** tab and lets users save searches.
  * **Manage Global Saved Searches** lets users edit and delete other users' global saved searches.
  * **Manage Saved Searches Subscriptions** lets users subscribe to saved searches.
  * **Manage Saved Searches Subscriptions For Other Users** lets users subscribe other users and desks.
* **Client configuration** (in `superdesk.config.js`):
  * `search` lists the parameters shown on the **Parameters** tab, for example `{slugline: 1, headline: 1, sign_off: 1}`. Leave a parameter out to hide it.
  * `search_cvs` lists the controlled vocabularies shown as parameters. The default is **Subject** and **Company Codes**.
  * `defaultSearch` sets which of ingest, production, published and archived content is searched by default. Set a repository to `false` to leave it out.
  * `features.elasticHighlight: true` turns on highlighted search terms.
  * `features.searchShortcut: true` lists search providers and search shortcuts in the Search menu and the source dropdown, and adds the **Search shortcut** option to global saved searches.
  * `search.useDefaultTimezone: true` interprets dates in the date filters in the server's time zone instead of the user's.
* **Server configuration**: `ELASTIC_QUERY_STRING_TYPE` (default `cross_fields`) controls how words are matched across fields.
* **Search providers** are set up in **Settings** > **Search Providers**. See [Content Configuration](https://github.com/superdesk/superdesk-docs-user-guide/tree/main/superdesk-user-guide/administration/content-configuration/README.md#search-providers).
* **Saved search reports** are sent by email, so Superdesk needs a working email configuration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.superdesk.org/user-guide/superdesk-user-guide/workspace-and-search/searching-content-in-superdesk.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
