Skip to content

fix: forward DiskANN query parameters - #20

Merged
zhourrr merged 1 commit into
mainfrom
codex/fix-diskann-query-params
Oct 26, 2026
Merged

zhourrr merged 1 commit into
mainfrom
codex/fix-diskann-query-params

Conversation

@zhourrr

@zhourrr zhourrr commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

DiskANN query options radius, isLinear, and isUsingRefiner were declared in the TypeScript API but silently ignored by the native binding. Parse and validate these options, then forward them to the upstream query parameters while preserving existing defaults.

Validated on macOS arm64 with a Release build, 60 passing unit tests (one platform skip), and targeted runtime checks for radius filtering and reset, linear search against exhaustive L2 results, FP16 refinement against original-vector L2 scores, and invalid parameter types. The radius regression was reproduced before the fix.

@zhourrr
zhourrr merged commit 3efe974 into main Oct 26, 2026
1 of 6 checks passed
@zhourrr
zhourrr deleted the codex/fix-diskann-query-params branch October 26, 2026 12:14
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