Skip to main content

Discovery & Search

Search keeps working for most users, but some searches and endpoints are now restricted. You must reindex after you upgrade from Collate 2.0.8 to Collate 2.1, and a few search endpoints are now stricter about who can call them.

What Changed at a Glance

The following table summarizes the search changes in Collate 2.1.
The Explore URL parameters, ordering model, and comma-separated values (CSV) export did not change between Collate 2.0.8 and Collate 2.1.
If you are upgrading from Collate 1.13, see the overview. For more information, see Breaking Changes: 1.13 → 2.0.

Reindex After You Upgrade

Behavioral. Affects every deployment. Run a full reindex as soon as the upgrade finishes.
Collate 2.1 adds new search indexes and changes the layout of existing ones, so documents written by Collate 2.0.8 do not have the new fields. Until you reindex, some results are incomplete. Counts and filters are also affected. The upgrade does the following:
  • 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.
To reindex, follow these steps:
  1. Click your profile icon.
  2. Go to Settings > Applications.
  3. Click Search Indexing.
  4. Run it once with all entities selected.
You can also trigger the reindex from your own automation. For more information, see Reindexing Search. Reindexing also does the following:
  • It builds the new relationshipType index 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 the following:
    • Metric groups
    • Data contracts
    • Governance automations
    • Metadata completeness
  • It applies the renamed fields of the AI automation index. For more information, see New Indexes and Settings.
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

Breaking. Affects non-admin users, bots with restricted roles, and any client that searches users.
Collate already hides user email addresses from non-admin users when they open a user. Search now follows the same rule. The following applies to callers who are not admins or bots:
  • Search results from the user index never include email.
  • A search that can reach user documents is rejected with a 400 Bad Request 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 JavaScript Object Notation (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 tag PII.Email, is not affected.
The same applies to aggregations, sorting, and the export endpoints. A client that adds an email clause to every user search now gets an error for non-admin callers. Send that clause only when the caller is an admin or bot.
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.
Test case search results are also now masked for people who cannot view the underlying table or column.

Restricted Search Endpoints

Breaking. 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.
Call these endpoints with an admin or bot token, or stop using them. Everyday search from the UI is not affected.

Semantic Search Results Respect Permissions

Behavioral. Affects users of semantic (vector) search.
Semantic search now drops any hit whose source entity the caller is not allowed to view. Admins see all hits. Non-admins may see fewer results than in Collate 2.0.8 for the same query. Semantic search also now covers queries (saved Structured Query Language (SQL) queries) as a searchable entity type.

Hybrid Search Weights Changed

Behavioral. Affects deployments with semantic search enabled.
The default split between keyword and semantic matching in hybrid search moves from 40% keyword and 60% semantic to 60% keyword and 40% semantic. The upgrade rewrites the stored weights only if they are still exactly the old defaults. If you chose your own weights, they are not changed. To keep the old behavior, set keywordWeight to 0.4 and semanticWeight to 0.6 in the search settings after the upgrade. For more information, see Search Configuration Settings.

Search Bar Natural Language Queries No Longer Use Credits

Behavioral. Affects admins who track AI credits, budgets, and credit alerts.
The search bar turns a natural language question into filters and a query by calling a language model. In Collate 2.0.8, each of these calls counted against your AI credits. In Collate 2.1, Collate does not charge for the search bar, so these calls never use credits or count toward budgets. The following changes apply:
  • Search bar usage still appears in usage records under the search bar source, but it is marked as not billable.
  • The upgrade marks past usage from the search bar as not billable. Past search bar query embeddings cannot be told apart from chat embeddings, so they keep counting.
  • The search bar no longer falls back to keyword-only search when a credit budget is used up. It keeps its full natural language behavior.
  • Chat and agents that call hybrid search on a user’s behalf are still billed, including the embedding of the query.
The credit changes are described with Collate AI and credits. For more information, see Collate AI & Credits.

Default Semantic Score Threshold Lowered

Behavioral. Affects deployments that do not set COLLATE_SEMANTIC_SCORE_THRESHOLD.
Hybrid search drops semantic hits that score below a threshold. The built-in default for semanticScoreThreshold moves from 0.7 to 0.625. At the old value, some short queries returned no semantic hits at all. Expect slightly more semantic matches for the same query. To keep the old behavior, set COLLATE_SEMANTIC_SCORE_THRESHOLD to 0.7.

Hybrid Search Results Leave Out Column Details

Behavioral. Affects clients that read column fields from hybrid search results.
Hybrid search results no longer include the columns field in the returned documents. Highlights no longer cover columns.name and columns.description. Highlighting still covers name, displayName, and description. If your client reads column details from a hybrid search hit, fetch the entity with its own GET endpoint instead.

Context Center Memory Search Is Limited to Approved Memories for Admins

Behavioral. Affects admins and users who search Context Center memories through hybrid search.
Hybrid search now limits admins to Context Center memories in the Approved status. An admin also sees their own memories in the Draft or Unprocessed status when the search filters ask for those statuses. No other user sees those memories. A search that pins an entity also returns the memories attached to that entity, when the caller may read them.

Ranking Can Boost by Tags and Certification

Additive. The ranking signals now allow tags.tagFQN and certification.tagLabel.tagFQN. The earlier signals still apply.
The earlier ranking signals are the following:
  • Entity type
  • Tier
  • Status
  • Usage
  • Votes
Behavioral. The upgrade repairs saved term boosts that used an invalid certification field path, so boosts you configured in Settings > Search for a certification now apply. This can change result order for those assets. Update any automated test that checks the top result for a query.

New Indexes and Settings

Additive. The reindex above fills all of these.
The upgrade adds the following items:
  • Collate adds new indexes for metric groups, data contracts, and relationship types. It also adds indexes for governance automations and metadata completeness.
  • The enableColumnIndexing setting is in the search settings, with a default of true. 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.
  • The search settings report whether highlighting can be turned on for each searchable field. The UI only shows the highlight toggle where it can work.
  • GET /v1/search/entityTypes lists every entity type that has a search index and requires permission to view Applications.
  • Collate includes Korean (KO) search mappings for its own indexes. Collate uses them when searchIndexMappingLanguage is KO.
  • In the AI automation index, the batchSize field is replaced by maxEntitiesPerRun and processAllEntities.

Natural Language Search Diagnostics

Additive. Affects API clients and agent builders that call natural language search.
Two new endpoints help you see how Collate reads a natural language query:
  • GET /v1/hybrid/nlq/extract returns the filters the language model chose, the filters that matched values in your catalog, and the query text left over. It does not run a search. Calling it uses the same model call as a search, so it records the same usage.
  • POST /v1/hybrid/nlq/canonicalize takes a map of filter categories to raw values and returns the ranked catalog matches for each value. It makes no model call and runs no search.
Send the request body of the second endpoint as a non-empty JSON object. An empty body returns a 400 Bad Request error.

Search Settings Use New Aggregation Field Names

Behavioral. Affects admins with saved search settings and clients that read the aggregation settings.
In the search settings, the aggregation property 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. The visible effects in the UI are the following:
  • The 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.

Search API Changes

Some search API changes affect request and response formats. For more information, see API & Schema.