You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[geaflow/ai-memory] Add minimal ANN adapter interface #854
I'd like to work on this. Plan: add a NearestNeighborIndex interface under geaflow-ai's index/ann package with a linear default adapter, document the tie-break order (score descending, then insertion order), and cover it with a contract test suite designed so a future ANN adapter can run the exact same tests. No new dependencies, no behavior change to existing paths.
Completed by merged PR #878: the NearestNeighborIndex contract, the linear default adapter, and the reusable contract-test suite (shape + exactness tiers) are now on master under geaflow-ai/src/main/java/org/apache/geaflow/ai/index/ann. Tie-break behavior is documented in the interface javadoc and enforced by tests. Closing this out — happy to pick up the ANN-side follow-up work when the roadmap wants it.
Activity
E2ern1ty commentedon Oct 9, 2026
I'd like to work on this. Plan: add a
NearestNeighborIndexinterface undergeaflow-ai'sindex/annpackage with a linear default adapter, document the tie-break order (score descending, then insertion order), and cover it with a contract test suite designed so a future ANN adapter can run the exact same tests. No new dependencies, no behavior change to existing paths.E2ern1ty commentedon Oct 9, 2026
PR: #878
E2ern1ty commentedon Oct 12, 2026
Completed by merged PR #878: the
NearestNeighborIndexcontract, the linear default adapter, and the reusable contract-test suite (shape + exactness tiers) are now on master undergeaflow-ai/src/main/java/org/apache/geaflow/ai/index/ann. Tie-break behavior is documented in the interface javadoc and enforced by tests. Closing this out — happy to pick up the ANN-side follow-up work when the roadmap wants it.