Repository navigation
Conversation
Migrate the Algolia search integration to @docsearch v5. Replace the singular `indexName` option with an `indices` array and rename the Ask AI `assistantId` to Agent Studio's `agentId`. Split the DocSearch JS and CSS bundles so keyword-only, Ask AI, and side panel modes each load only what they need, and cache each entry point separately. Move language filtering into per-index search parameters and validate credentials per resolved mode so side-panel-only configurations initialize correctly. BREAKING CHANGE: The Algolia search options have changed. `indexName` is replaced by an `indices` array, the Ask AI `assistantId` is renamed to `agentId`, and the root-level `searchParameters` option is removed in favor of per-index `searchParameters` inside `indices`. Update your `themeConfig.search.options` accordingly.
Member
8bittitan
marked this pull request as ready for review
August 26, 2026 20:26
Member
|
Please wait a bit, no need to update the branch. This will be merged before the next release if there are no additional changes necessary. |
brc-dd
reviewed
Oct 12, 2026
brc-dd
reviewed
Oct 12, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Migrate the Algolia search integration to
@docsearch@5.x. Replace the singularindexNameoption with anindicesarray and rename the Ask AIassistantIdto Agent Studio'sagentId. Split the DocSearch JS and CSS bundles so keyword-only, Ask AI, and side panel modes each load only what they need, and cache each entry point separately. Move language filtering into per-index search parameters and validate credentials per resolved mode so side-panel-only configurations initialize correctly.Linked Issues
N/A
Additional Context
BREAKING CHANGE: The Algolia search options have changed.
indexNameis replaced by anindicesarray, the Ask AIassistantIdis renamed toagentId, and the root-levelsearchParametersoption is removed in favor of per-indexsearchParametersinsideindices. Update yourthemeConfig.search.optionsaccordingly.Note
With the Ask AI backend -> Agent Studio migration, this means the modal/sidepanel Ask AI won't currently work until the Ask AI assistant is migrated to Agent Studio (or just an agent is created in general).
Bundle split savings
Tip
The author can publish a preview release by commenting
/publishafter creating the PR.