Skip to content

feat(search) support cursor for unified search#892

Merged
whutchinson98 merged 28 commits intomainfrom
hutch/bac-192-support-cursor-for-unified-search
Jan 13, 2026
Merged

feat(search) support cursor for unified search#892
whutchinson98 merged 28 commits intomainfrom
hutch/bac-192-support-cursor-for-unified-search

Conversation

@whutchinson98
Copy link
Copy Markdown
Member

Summary

This PR overhauls our current search approach to move to a complex cursor based search.
We now create a cursor for each search method (document name, email subject, content etc) and pack our result with all of these items sorted by updated at. We then generate a new combined cursor for each of these methods to be used to get the next page of information.

This PR also removes all of the unused search endpoints since supporting them has become cumbersome with the cursor changes.

Screenshots, GIFs, and Videos

@whutchinson98 whutchinson98 requested a review from a team as a code owner January 9, 2026 19:38
@linear
Copy link
Copy Markdown

linear bot commented Jan 9, 2026

@whutchinson98 whutchinson98 force-pushed the hutch/bac-192-support-cursor-for-unified-search branch from f64440e to 59c6bae Compare January 9, 2026 20:06
@gbirman
Copy link
Copy Markdown
Contributor

gbirman commented Jan 9, 2026

nice, lemme stack FE pr on this and see if it works. we can merge together

@whutchinson98 whutchinson98 force-pushed the hutch/bac-192-support-cursor-for-unified-search branch 2 times, most recently from 9c8fe47 to b237c44 Compare January 12, 2026 14:12
@claude
Copy link
Copy Markdown
Contributor

claude bot commented Jan 12, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Copy link
Copy Markdown
Contributor

@seanaye seanaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some small nits left

@whutchinson98 whutchinson98 force-pushed the hutch/bac-192-support-cursor-for-unified-search branch from ee34869 to 0727437 Compare January 12, 2026 20:05
@whutchinson98 whutchinson98 requested a review from a team as a code owner January 12, 2026 20:41
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 12, 2026

@isaiahb
Copy link
Copy Markdown

isaiahb commented Jan 13, 2026

🔥

@whutchinson98 whutchinson98 merged commit d86a7fc into main Jan 13, 2026
37 of 39 checks passed
@whutchinson98 whutchinson98 deleted the hutch/bac-192-support-cursor-for-unified-search branch January 13, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants