Skip to content

Replace Typesense search with Algolia DocSearch - #1905

Merged
pmckinney-codat merged 5 commits into
mainfrom
replace-typesense-with-algolia-docsearch
Nov 17, 2026
Merged

pmckinney-codat merged 5 commits into
mainfrom
replace-typesense-with-algolia-docsearch

Conversation

@pmckinney-codat

@pmckinney-codat pmckinney-codat commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Why

Using Docusaurus preferred search functionality

pmckinney-codat and others added 3 commits November 17, 2026 11:56
The Typesense Cloud cluster behind docs search was removed after a
billing suspension, leaving search broken. Move to Algolia DocSearch,
which hosts the crawler and index so there is no cluster or indexing
pipeline for us to run.

- Swap docusaurus-theme-search-typesense for
  @docusaurus/theme-search-algolia, registered explicitly because the
  glossary preset does not add it like preset-classic does
- Point themeConfig at the "Codat Docs" Algolia index
- Report search_method as "algolia" in Amplitude search events

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- Keep the navbar search button inside its container. DocSearch v4
  resets the button to content-box, so width: 100% plus padding pushed
  it over the Sign in CTA.
- Drop the global focus ring on the modal input, where it collided
  with "Clear the query".
- Restyle the Ctrl K hint as one compact pill so it no longer touches
  the button edges.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Conflict in docusaurus.config.js: main re-pointed the Typesense config
at a rebuilt cluster (#1904), this branch replaces Typesense with
Algolia DocSearch. Kept the Algolia block.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-17 15:29 UTC

@pmckinney-codat
pmckinney-codat marked this pull request as ready for review November 17, 2026 13:09
@pmckinney-codat
pmckinney-codat marked this pull request as draft November 17, 2026 13:25
@pmckinney-codat
pmckinney-codat marked this pull request as ready for review November 17, 2026 13:42
Docs change rarely, so rather than crawl on a tight schedule, ask
Algolia's crawler to reindex once the production stage has finished.
The crawler's own weekly schedule stays as the fallback.

The stage reads the crawler ID and credentials from the
codat-integration Key Vault and is marked continueOnError, so a failed
trigger warns instead of failing a release that already deployed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@pmckinney-codat
pmckinney-codat marked this pull request as draft November 17, 2026 13:55
@pmckinney-codat
pmckinney-codat marked this pull request as ready for review November 17, 2026 13:57
The Stoplight link in the 18 Feb 2023 weekly update intermittently
returns 404, which fails the link check at random. Link to
/expenses/overview instead, as later posts already do.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Link check results:

[]

@pmckinney-codat
pmckinney-codat merged commit faac2a3 into main Nov 17, 2026
6 checks passed
@pmckinney-codat
pmckinney-codat deleted the replace-typesense-with-algolia-docsearch branch November 17, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants