LightRAG/lightrag
yangdx da46b341dc feat: Optimize document deletion performance
- To enhance performance during document deletion, new batch-get methods, `get_nodes_by_chunk_ids` and `get_edges_by_chunk_ids`, have been added to the graph storage layer (`BaseGraphStorage` and its implementations). The [`adelete_by_doc_id`](lightrag/lightrag.py:1681) function now leverages these methods to avoid unnecessary iteration over the entire knowledge graph, significantly improving efficiency.
- Graph storage updated: Networkx, Neo4j, Postgres AGE
2025-06-25 12:37:57 +08:00
..
api Bump api version to 0175 2025-06-24 22:16:06 +08:00
kg feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
llm fix lint 2025-06-19 14:16:24 +08:00
tools
__init__.py Bump api version to 1.3.9 2025-06-11 17:03:27 +08:00
base.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
constants.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
exceptions.py
lightrag.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
llm.py
namespace.py
operate.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
prompt.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
types.py
utils.py update delete_by_doc_id 2025-06-09 18:52:34 +08:00
utils_graph.py Add retrun status to entity and relation delete operations 2025-06-23 21:39:45 +08:00