Skip to content

docs(falkordb): clarify relations-as-nodes and per-call projection reads - #40

Merged
yoheinakajima merged 1 commit into
mainfrom
claude/gracious-fermat-cx16ct
Jun 23, 2026
Merged

yoheinakajima merged 1 commit into
mainfrom
claude/gracious-fermat-cx16ct

Conversation

@yoheinakajima

Copy link
Copy Markdown
Owner

Two small accuracy fixes to the FalkorDB guide, following the #39 merge. Docs only — no code or behavior changes.

What & why

  1. Relations-as-nodes clarification. The "Query current state with Cypher" use case implied native graph-algorithm traversal. But FalkorDBGraphStore stores relations as AGRelation nodes, not native edges (intentionally — to preserve the in-memory store's dangling-relation semantics). The guide now says to match AGRelation nodes by their source/target properties and notes that native edge-traversal algorithms don't apply directly.

  2. Per-call projection reads. Graph's filters, neighborhood(), and where evaluation run in Python over all_objects() / all_relations(), so each call fetches and decodes the whole projection from FalkorDB rather than pushing the query down as Cypher. Added a note to the data-model section so readers know this is best for small-to-medium live projections and Cypher-side inspection, not large pushed-down traversals.

Both points reflect the actual implementation merged in #39; this just sets reader expectations accurately.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NakhiG72ivaQT7su157hKj


Generated by Claude Code

Two accuracy fixes to the FalkorDB guide following the v1.1 merge:

- The "query with Cypher" use case implied native graph-algorithm
  traversal, but relations are stored as AGRelation nodes (not native
  edges) to preserve dangling-relation semantics. Clarify that Cypher
  queries match on source/target properties and that edge-traversal
  algorithms don't apply directly.
- Note that Graph's filters, neighborhood walks, and where evaluation run
  in Python over all_objects()/all_relations(), so each call reads the
  whole projection from FalkorDB rather than pushing a query down. Sets
  expectations: best for small-to-medium projections and inspection.

Docs only; no code or behavior changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NakhiG72ivaQT7su157hKj
@yoheinakajima
yoheinakajima merged commit 0eb9ebd into main Jun 23, 2026
6 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.

2 participants