---
title: "Global search"
site: admin
version: 2027.1
versions: "all"
url: https://docs-new.servicely.ai/admin/2027.1/portal/global-search/
type: concept
application: platform
last_updated: 2026-12-03
commit: 6777698daac5
---


Global search is the search that users open from the magnifying glass at the top right of every page. This page explains how administrators control what it finds, how results are grouped and ranked, and who sees it.

<Image src="asset:screenshots/admin/portal-global-search/header-search.png">The header with the magnifying glass that opens global search, beside the user menu.</Image>

<Callout type="info">
**Changed in 2027.1.** Global search finds a record by its number and matches terms across fields. Results respect field-level read permissions. A record stays searchable when its vector embedding fails. Results show as one ranked list, set up on each global search configuration.
</Callout>

## How it works

Global search runs on Elasticsearch. Each table you configure is copied into a search index, and searches run against that index, not against the database. Elasticsearch is switched on for an instance by the `ELASTICSEARCH_AUTH_APIKEY` setting. Without it, indexing stops and searches report that search is unavailable. There is no fallback to a database search.

Only tables with an active global search configuration are searched. Servicely ships configurations for Action, Action result, Announcement, Catalog item, Classification, CMDB service, Group, Incident, Knowledge, Knowledge base and User. Some applications add more, such as Interaction and ITSM request.

Indexing runs in the background. The "Global search - sync scheduler" job queues every active configuration each minute, and other global search jobs index and delete documents every ten seconds. **Global search sync state** shows each table's progress and errors. The configurations, result groups and sync state are under **Portal & search → Global search**.

Search respects realms. On a realm-separated table, results are filtered to the user's realm before they are ranked.

## What is indexed

A global search configuration names a **Table** and its **Search fields**. Each search field has a **Boost**, a multiplier that makes matches in that field count more. A boost of 2.0 makes a match twice as important. A **Condition** limits which records are indexed. A **Condition script** does the same with a script, but slows synchronisation, so use it only when a condition cannot express the rule.

A configuration covers its own table only. Records stored in a child table need a configuration for that child table.

## Matching and ranking

| Setting | Effect |
| --- | --- |
| **Fuzziness** | Typo tolerance. AUTO adjusts to the length of each term, or 0 to 2 allows that many character differences. |
| **Prefix length** | The number of leading characters that must match exactly before fuzzy matching applies. |
| **Minimum should match** | How many terms of a multi-term query must match, in the form `X<Y%`. |
| **Recency Boost** | Whether newer records rank higher among results of similar relevance. Leave it empty to follow the instance default, or disable it for reference content such as knowledge. |
| Vector search **Enabled**, **Fields** and **Dimensions** | Turn the chosen fields into vector embeddings for semantic search. **Dimensions** must match the embedding model. |

The instance defaults for recency come from `elasticsearch.recency.enabled` (`true`), `elasticsearch.recency.offset` (`7d`), `elasticsearch.recency.scale` (`180d`) and `elasticsearch.recency.decay` (`0.7`). Records updated within the offset count as equally fresh. The oldest records rank no lower than the decay multiplier.

## How results appear

The search results screen shows one ranked list. The **Search screen** section of each global search configuration sets how that table's records appear.

| Field | Effect |
| --- | --- |
| **Category** | The category the records are listed under, such as Work. |
| **Title Field** and **Subtitle Field** | The fields shown as each result's title and subtitle. |
| **Meta Fields** | Further fields shown on each result, such as status and assignee. |
| **Tab Field** | A field that splits the results into tabs. |
| **Icon** | The icon shown beside each result. |
| **Open Action** and **Preview Action** | What happens when a user opens or previews a result. |
| **Hide From Search Screen** | Leaves the table's records off the results screen. |

The application property `globalsearch.screen.legacy` brings back the earlier screen, with one section per table. It is `false` when shipped. While it is `true`, **Global search result configuration** records decide the groups. Each group has a **Title**, a source **Table**, a **Tab field**, and a **Primary Field** and **Secondary Field** shown in each row.

<!-- source: platform/data/GlobalSearchResultConfiguration -->
| Group | Contents |
| --- | --- |
| Work | Records of the Work table and its child tables, in a tab per record type. |
| Catalog | Catalog items, in a tab per category. |
| Knowledge base | Knowledge articles, in a tab per classification. |
| Other | Every other configured table. |

## Who can search

The application property `system.search.role_required` names a role needed to see the search. It is blank by default, so every user sees it. Set it to a role such as `platform_agent` to hide the search from everyone else.

## Related

- [Add a table to global search](page:portal/add-a-table-to-global-search)
- [Scheduled jobs and job queues](page:platform/jobs-and-logs/jobs)
- [Set an application property](page:platform/applications-and-licences/set-an-application-property)
- [Multi-tenancy](page:access/roles-and-permissions/multi-tenancy)
