Skip to content

perf(ai): Use indexed conversation ID lookups - #127514

Open
vgrozdanic wants to merge 1 commit into
masterfrom
perf/index-conversation-id-lookups
Open

vgrozdanic wants to merge 1 commit into
masterfrom
perf/index-conversation-id-lookups

Conversation

@vgrozdanic

Copy link
Copy Markdown
Member

Exact conversation ID searches now apply the ID as a row-level filter before grouping. This lets Snuba use the existing conversation ID bloom index instead of evaluating the ID through an aggregate filter, reducing work for direct-hit navigation.

Other conversation searches keep the existing whole-conversation query behavior, and exact lookups preserve the same response and redirect semantics.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Oct 15, 2026
Route exact conversation ID searches through a top-level filter so Snuba can use the existing conversation ID bloom index instead of evaluating an aggregate filter.
@vgrozdanic
vgrozdanic force-pushed the perf/index-conversation-id-lookups branch from ca1f686 to 77497cc Compare October 15, 2026 10:55
@vgrozdanic
vgrozdanic marked this pull request as ready for review October 15, 2026 11:33
@vgrozdanic
vgrozdanic requested a review from a team as a code owner October 15, 2026 11:33

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant