Problem
CoordinodeClient.vector_search() always returns an empty list, even when nodes with embedding properties exist in the graph. This silently breaks:
CoordinodePropertyGraphStore.vector_query() in llama-index adapter
- Any LangChain workflow relying on vector similarity
client = CoordinodeClient("localhost:7080")
results = client.vector_search(label="Chunk", property="embedding", vector=[...], top_k=5)
# → [] (always empty, even with data)
Root cause
This is a DB-side gap: VectorService gRPC endpoint exists and accepts requests, but the wiring from VectorService to the HNSW index executor is incomplete in CoordiNode v0.3. The RPC returns without querying the index.
Tracked as G073 in CoordiNode DB repository.
SDK work (after G073 is fixed in DB)
Once G073 is resolved and vector_search returns actual results:
- Add E2E integration test —
test_vector_search_returns_results with a real embedding vector
- Add
similarity_search() to LangChain adapter (CoordinodeGraph) — currently missing; should wrap client.vector_search() with label/property defaults
- Verify
vector_query() in LlamaIndex adapter — test against live DB, confirm scores are correct (currently returns r.distance — verify this matches expected similarity semantics)
Acceptance criteria
Gate
Blocked by G073 — requires CoordiNode DB fix: VectorService → HNSW executor wiring.
Do not start SDK implementation until a CoordiNode release with G073 fixed is available.
Problem
CoordinodeClient.vector_search()always returns an empty list, even when nodes withembeddingproperties exist in the graph. This silently breaks:CoordinodePropertyGraphStore.vector_query()in llama-index adapterRoot cause
This is a DB-side gap:
VectorServicegRPC endpoint exists and accepts requests, but the wiring from VectorService to the HNSW index executor is incomplete in CoordiNode v0.3. The RPC returns without querying the index.Tracked as G073 in CoordiNode DB repository.
SDK work (after G073 is fixed in DB)
Once G073 is resolved and
vector_searchreturns actual results:test_vector_search_returns_resultswith a real embedding vectorsimilarity_search()to LangChain adapter (CoordinodeGraph) — currently missing; should wrapclient.vector_search()with label/property defaultsvector_query()in LlamaIndex adapter — test against live DB, confirm scores are correct (currently returnsr.distance— verify this matches expected similarity semantics)Acceptance criteria
client.vector_search(label="Chunk", property="embedding", vector=[...], top_k=5)returns results when data existsCoordinodeGraph.similarity_search(query_vector, k=5)implemented in LangChain adaptervector_query()tested E2EGate
Blocked by G073 — requires CoordiNode DB fix: VectorService → HNSW executor wiring.
Do not start SDK implementation until a CoordiNode release with G073 fixed is available.