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 Revert "Cleanup of code" 2025-02-20 15:09:43 +01:00
__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 improved typing 2025-02-15 22:37:12 +01:00
lightrag.py feat: Optimize document deletion performance 2025-06-25 12:37:57 +08:00
llm.py improved typing 2025-02-15 22:37:12 +01:00
namespace.py improved typing 2025-02-15 22:37:12 +01:00
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 Add is_truncated to graph query for NetworkX graph db 2025-04-02 22:12:20 +08:00
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