Discovery & Search
Nothing in search stops working outright when you upgrade from 2.0 to 2.1, but you must reindex after upgrading, and a few search endpoints are now stricter about who can call them.What Changed at a Glance
The table summarizes the search changes in 2.1.The Explore URL parameters, ordering model, and CSV export did not change between 2.0 and 2.1. If you
are upgrading from 1.13, see Breaking Changes: 1.13 to 2.0.
Reindex After You Upgrade
Behavioral. Affects every deployment. Run a full reindex as soon as the upgrade finishes.
- It sets the Search Indexing application to reindex all entities.
- It clears the record of earlier successful indexing runs, so the Applications page shows that indexing must be run again.
- Click the Profile icon and go to Settings > Applications.
- Click Search Indexing.
- Select the Schedule tab and click Run now. Leave Entities set to
All, its default.
- It builds the new
relationshipTypeindex and the new glossary term attribute mapping. - It fills in the access-control fields that search now relies on. Documents written before the upgrade are filtered only on the fields they already carry. For more information, see Search Applies the Same Access Rules as Entity Reads.
- It builds newly enabled indexes, such as metric groups and data contracts.
If you turn on Enable Roles & Policies in Search after upgrading, run another reindex. Tag-based
rules on table columns only take effect once the column documents have been rebuilt.
Search Applies the Same Access Rules as Entity Reads
Behavioral. Affects non-admin users, bots with restricted roles, and any client that searches users.
- Search results from the user index never include
email. - A search that can reach user documents is rejected with a 400 error if it does any of the following:
- It refers to an email field.
- It searches every field.
- It runs a script.
- It carries a filter that is not plain JSON.
- Free-text searches over users keep working, but they no longer match on email addresses.
- Searching on a column called
email, or on the tagPII.Email, is not affected.
The Settings bot search adds an email clause. A non-admin who is allowed to view bots can see an error
on that screen until the clause is sent for admins only.
Restricted Search Endpoints
Behavioral. Affects scripts and integrations that call these endpoints with a non-admin token.
The endpoints are restricted for the following reasons:
- The preview runs caller-supplied ranking settings that can slow the whole cluster.
- The document lookup returns raw documents without policy filtering.
- Failure records contain entity names and server error details.
Semantic Search Results Respect Permissions
Behavioral. Affects users of semantic (vector) search.
Hybrid Search Weights Changed
Behavioral. Affects deployments with semantic search enabled.
keywordWeight to 0.4 and semanticWeight to 0.6 in the search
settings after the upgrade.
Ranking Can Boost by Tags and Certification
Additive. The ranking signals now allow
tags.tagFQN and certification.tagLabel.tagFQN, in
addition to entity type, Tier, status, usage, and votes.- Topic search facet Field Names previously always returned no values. It now works.
- API endpoint search now offers separate Request Field Names and Response Field Names facets in place of the single one.
New Indexes and Settings
Additive. The reindex above fills all of these.
- New indexes: metric groups, data contracts, and relationship types
- Column indexing setting:
enableColumnIndexingin the search settings (defaulttrue). Turning it off stops indexing columns as standalone search documents and deletes the column search index. Turning it on creates the index again, and a reindex of tables fills it - Highlight flag: a report in the search settings of whether highlighting can be turned on for each searchable field. The UI only shows the highlight toggle where it can work
- Entity types endpoint:
GET /v1/search/entityTypes, which lists every entity type that has a search index and requires permission to view Applications - Connection pool defaults:
ELASTICSEARCH_MAX_CONN_TOTALnow defaults to 100 (was 30) andELASTICSEARCH_MAX_CONN_PER_ROUTEto 50 (was 10). If your cluster limits connections, set both explicitly
Search Settings Use New Aggregation Field Names
Behavioral. Affects admins with saved search settings and clients that read the aggregation settings.
fieldsNames is renamed to fieldNames. For API-endpoint
aggregations, fieldNames is split into requestFieldNames and responseFieldNames. The upgrade repairs
stored search settings. Update any script that reads or writes these properties, and run the reindex above so
the new fields are built.