Skip to content

perf(search): output refined internal IDs directly - #821

Merged
luoxiaojian merged 1 commit into
alibaba:mainfrom
luoxiaojian:codex/fast-query-refine-output
Oct 19, 2026
Merged

luoxiaojian merged 1 commit into
alibaba:mainfrom
luoxiaojian:codex/fast-query-refine-output

Conversation

@luoxiaojian

Copy link
Copy Markdown
Collaborator

Refine coarse candidates directly into ID and optional score buffers for supported contiguous Flat references. Reuse the existing legacy and Turbo distance kernels and preserve score ordering and normalization.

Retain the generic refiner for unsupported requests and storage layouts. When direct refinement falls back after coarse search, reuse its candidates instead of repeating the coarse search.

Add coverage for direct output, concurrent queries, storage modes and single-coarse-search behavior across late fallback cases.

iaojnh
iaojnh previously approved these changes Oct 19, 2026
@iaojnh
iaojnh dismissed their stale review October 19, 2026 03:20

dismiss

Refine coarse candidates directly into ID and optional score buffers for
supported contiguous Flat references. Reuse the existing legacy and Turbo
distance kernels and preserve score ordering and normalization.

Retain the generic refiner for unsupported requests and storage layouts.
When direct refinement falls back after coarse search, reuse its candidates
instead of repeating the coarse search.

Add coverage for direct output, concurrent queries, storage modes and
single-coarse-search behavior across late fallback cases.
@luoxiaojian
luoxiaojian force-pushed the codex/fast-query-refine-output branch from bc9b15f to a083820 Compare October 19, 2026 04:52
@luoxiaojian
luoxiaojian merged commit 89e83db into alibaba:main Oct 19, 2026
18 checks passed
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.

3 participants