Skip to content

feat: rank chain API-overview pages first for chain-name search queries#1456

Open
je-contractor wants to merge 1 commit into
mainfrom
je/ax-593-chain-overview-search-rank
Open

feat: rank chain API-overview pages first for chain-name search queries#1456
je-contractor wants to merge 1 commit into
mainfrom
je/ax-593-chain-overview-search-rank

Conversation

@je-contractor

@je-contractor je-contractor commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a pageRank custom-ranking signal on Algolia records, set to 1 for chain API-overview pages (tab === "chains" + *-api-overview.mdx path pattern) and 0 otherwise.
  • Applies customRanking: ["desc(pageRank)"] via a partial setSettings call in the uploader, so ties in textual relevance are broken in favor of the chain's overview page.
  • Threads pageRank through AlgoliaCollector/AddRecordParams, defaulting to 0 for existing callers (visit-section.ts, OpenAPI/OpenRPC processors, changelog indexer).

Verified locally: ran the indexer against a scratch branch-scoped Algolia index (je-ax-593-test_alchemy_docs), pointed a local docs-site checkout at it, and confirmed chain-name searches (Ethereum, Solana, Base, Bitcoin, etc.) now rank the chain's API Overview page first.

Testing

Ticket: AX-593

Adds a pageRank custom-ranking signal so a bare chain-name search (e.g.
"Ethereum") surfaces that chain's API overview page ahead of the hundreds
of endpoint/tutorial pages that also mention the chain name.

Ticket: AX-593
@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Jul 17, 2026, 2:22 AM

@dslovinsky
dslovinsky marked this pull request as ready for review July 17, 2026 20:12
@dslovinsky
dslovinsky requested a review from a team as a code owner July 17, 2026 20:12
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