Skip to content

Comments

feat: replace Algolia search with Pagefind static search#10285

Open
jd wants to merge 1 commit intomainfrom
devs/jd/feat/pagefind-search/I6e1e8ee66a6460a381bdfe830d47216d439beba0
Open

feat: replace Algolia search with Pagefind static search#10285
jd wants to merge 1 commit intomainfrom
devs/jd/feat/pagefind-search/I6e1e8ee66a6460a381bdfe830d47216d439beba0

Conversation

@jd
Copy link
Member

@jd jd commented Feb 20, 2026

Migrate from Algolia (external service) to Pagefind (static, build-time
search index). This eliminates the need for API keys and network
round-trips for search.

  • Custom Pagefind indexer that creates per-heading-section records (h2,
    h3, h4) with weighted ranking (title=7, properties=5, body=1,
    changelog=0.5)
  • Indexes page meta descriptions and inline code property terms
  • Search UI rewritten to use Pagefind JS API with same modal UX
  • Title highlighting, dedup by page, no-results message, breadcrumbs
    with heading hierarchy
  • HTML preview pane fetches actual page content via DOMParser
  • Pagefind index preloaded on page idle and search button hover
  • HTML preview cache cleared on modal close

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

@mergify mergify bot had a problem deploying to Mergify Merge Protections February 20, 2026 06:28 Failure
@mergify
Copy link
Contributor

mergify bot commented Feb 20, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🔴 👀 Review Requirements

This rule is failing.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@mergify mergify bot requested a review from a team February 20, 2026 06:31
sileht
sileht previously approved these changes Feb 20, 2026
@jd jd force-pushed the devs/jd/feat/pagefind-search/I6e1e8ee66a6460a381bdfe830d47216d439beba0 branch from 2205357 to 6cfc140 Compare February 20, 2026 07:33
@mergify mergify bot dismissed sileht’s stale review February 20, 2026 07:34

Pull request has been modified.

@mergify mergify bot had a problem deploying to Mergify Merge Protections February 20, 2026 07:34 Failure
@mergify mergify bot requested a review from a team February 20, 2026 07:36
@jd jd force-pushed the devs/jd/feat/pagefind-search/I6e1e8ee66a6460a381bdfe830d47216d439beba0 branch from 6cfc140 to a8d2d7c Compare February 20, 2026 07:41
@mergify mergify bot had a problem deploying to Mergify Merge Protections February 20, 2026 07:41 Failure
@jd jd force-pushed the devs/jd/feat/pagefind-search/I6e1e8ee66a6460a381bdfe830d47216d439beba0 branch from a8d2d7c to 9feac4a Compare February 20, 2026 08:01
@mergify mergify bot had a problem deploying to Mergify Merge Protections February 20, 2026 08:01 Failure
@mergify
Copy link
Contributor

mergify bot commented Feb 20, 2026

@jd this pull request is now in conflict 😩

@mergify mergify bot added the conflict label Feb 20, 2026
Migrate from Algolia (external service) to Pagefind (static, build-time
search index). This eliminates the need for API keys and network
round-trips for search.

- Custom Pagefind indexer that creates per-heading-section records (h2,
  h3, h4) with weighted ranking (title=7, properties=5, body=1,
  changelog=0.5)
- Indexes page meta descriptions and inline code property terms
- Search UI rewritten to use Pagefind JS API with same modal UX
- Title highlighting, dedup by page, no-results message, breadcrumbs
  with heading hierarchy
- HTML preview pane fetches actual page content via DOMParser
- Pagefind index preloaded on page idle and search button hover
- HTML preview cache cleared on modal close

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Change-Id: I6e1e8ee66a6460a381bdfe830d47216d439beba0
Claude-Session-Id: 66e15b01-5b84-4168-8d52-c400af9c948c
@jd jd force-pushed the devs/jd/feat/pagefind-search/I6e1e8ee66a6460a381bdfe830d47216d439beba0 branch from 9feac4a to 5f48cc5 Compare February 20, 2026 08:56
@mergify mergify bot removed the conflict label Feb 20, 2026
@mergify mergify bot had a problem deploying to Mergify Merge Protections February 20, 2026 08:56 Failure
@mergify
Copy link
Contributor

mergify bot commented Feb 20, 2026

@jd this pull request is now in conflict 😩

@mergify mergify bot added the conflict label Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants