Uh oh!
There was an error while loading. Please reload this page.
feat(ai): Adding Lucene & Embedding-Based Search Operators to Apache GeaFlow (incubating) for Lightweight Context Memory - #716
Conversation
Appointat
left a comment
There was a problem hiding this comment.
Thanks for your PR. Left some comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
DukeWangYu
commented
Jan 19, 2026
LGTM |
Uh oh!
There was an error while loading. Please reload this page.
We're excited to introduce initial support for context-aware memory operations in Apache GeaFlow (incubating) through the integration of two key retrieval operators: Lucene-powered keyword search and embedding-based semantic search. This enhancement lays the foundational layer for building dynamic, AI-driven graph memory systems — enabling real-time, hybrid querying over structured graph data and unstructured semantic intent.
✅ Key Features Implemented
KeywordVector+ Lucene Indexing: Enables fast, full-text retrieval of entities using BM25-style keyword matching. Ideal for surfacing exact or near-exact matches from entity attributes (e.g., names, emails, titles).EmbeddingVector+ Vector Index Store: Supports semantic search via high-dimensional embeddings. Queries are encoded using a configured embedding model and matched against pre-indexed node representations.VectorSearchInterface: Combines multiple vector types (keyword, embedding, traversal hints) into a single search context, paving the way for multimodal retrieval.🧪 Validated Use Cases
Our
GraphMemoryTestsuite demonstrates:Comment_hasCreator_Person) in follow-up rounds via contextual refinement.🔮 Why This Matters
This work represents the first step toward Graphiti-inspired, relationship-aware AI memory within GeaFlow:
By leveraging GeaFlow’s native streaming graph engine, we aim to go beyond batch RAG — supporting incremental updates, temporal reasoning, and multi-hop inference at low latency.
Next Steps:
We propose incubating this as the GeaFlow Memory Engine, with upcoming support for:
This PR sets the stage: from graph analytics to graph-native AI memory.
Let’s build the future of contextual intelligence — on streaming graphs. 🚀