PostgresStore ranks zero vectors above exact matches in vector search (NaN cosine score sorted first), diverging from InMemoryStore
Public issue #9857 in langchain-ai/langgraph. The source issue contains the full report and discussion.
Read original sourceSource record
Research analysis
Reported problem
The record contains the title “PostgresStore ranks zero vectors above exact matches in vector search (NaN cosine score sorted first), diverging from InMemoryStore” but no substantive source summary.
Frequency & alternatives
Recent records to compare: “[问与答] [线上]海外数据录入全职/兼职均可,有 it 基础,长期稳定工作,平均 4k-12k/月,多劳多得” (V2EX, Nov 26, 2026); “InMemoryStore conflates missing keys with explicit `None` in `search(filter=...)`, diverging from PostgresStore” (GitHub Issues, Nov 26, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.
Demand hypothesis
Treat the reported task or obstacle as an interview lead. A feature request, complaint or search for alternatives does not by itself identify a budget owner or willingness to pay.
Commercial evidence gaps
Missing evidence: distinct affected users, repeated occasions, current workaround, measured time or money cost, purchasing authority and a response to a concrete offer.
Validation decision
Group original reports by the same task and deduplicate authors and reposts. Ask how the task is handled today and what it costs; test a defined offer before claiming paid demand.