Skip to content

fix(docs): adjust search API#7488

Merged
mhartington merged 1 commit intomainfrom
fix/docs-search
Feb 12, 2026
Merged

fix(docs): adjust search API#7488
mhartington merged 1 commit intomainfrom
fix/docs-search

Conversation

@mhartington
Copy link
Member

@mhartington mhartington commented Feb 12, 2026

Summary by CodeRabbit

  • Bug Fixes
    • Updated search functionality to return the top 20 most relevant results.

@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Feb 12, 2026 7:32pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 12, 2026

Walkthrough

The Mixedbread search API configuration in the docs search endpoint has been modified. The search strategy shifted from query rewriting (rewriteQuery: true) to explicit result limiting (topK: 20), changing how the search retrieves and prioritizes results while maintaining the existing result transformation pipeline.

Changes

Cohort / File(s) Summary
Search API Configuration
apps/docs/src/app/api/search/route.ts
Updated Mixedbread search API options: replaced rewriteQuery: true with topK: 20, constraining search results to the top 20 matches instead of applying query rewriting logic.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main change: adjusting the Mixedbread search API configuration from rewriteQuery to topK parameters.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Contributor

🍈 Lychee Link Check Report

3660 links: ✅ 2729 OK | 🚫 0 errors | 🔀 265 redirects | 👻 664 excluded

✅ All links are working!


Full Statistics Table
Status Count
✅ Successful 2729
🔀 Redirected 265
👻 Excluded 664
🚫 Errors 0
⛔ Unsupported 2
⏳ Timeouts 0
❓ Unknown 0

@mhartington mhartington merged commit 7368b86 into main Feb 12, 2026
8 of 10 checks passed
@mhartington mhartington deleted the fix/docs-search branch February 12, 2026 19:45
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.

1 participant