apache / apache/geaflow

[geaflow/ai-memory] Add searchable watermark for graph, keyword, and vector indexes

Open
#857 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
808
Forks
188
Avg merge
3d 22h
Merged PRs (30d)
2

Description

Priority: P1
Difficulty: Intermediate

Context: Graph facts and indexes can diverge. Retrieval must know whether graph, keyword, chunk vector, and entity vector projections are searchable for a given import run.

Scope:

- Define `SearchableWatermark`.
- Add fields for accepted, validated, graphed, keyword_indexed, chunk_vector_indexed, entity_vector_indexed.
- Add tests for partial projection and lag reporting.

Constraints:

- Do not implement distributed consistency.
- Do not hide partial state; expose it in trace.

Acceptance Criteria:

- Retrieval trace can show which projections were available.
- Partial index state is visible and testable.

Suggested paths:

- `geaflow-ai/src/main/java/org/apache/geaflow/ai/workflow`

Contributor guide

Open the contributing guide

Research direction

Start in geaflow-ai/src/main/java/org/apache/geaflow/ai/workflow and trace how retrieval exposes projection state. Define SearchableWatermark with the listed projection fields, then add tests covering partial projection availability and lag reporting. Done means retrieval traces show available projections and partial index state is testable without distributed consistency logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.