Enhance ingestion_db.py and ingestion_processor.py: Integrate authority checks for Point-IDs and improve edge validation logic. Update logging mechanisms and refine batch import process with two-phase writing strategy. Adjust documentation for clarity and accuracy, reflecting version updates to 2.2.0 and 3.3.0 respectively.

This commit is contained in:
Lars committed 2026-01-09 23:25:57 +01:00
1 parent c9ae58725c
commit e2c40666d1
2 files changed
+112 -143

No files matched your search

+1 -1
View File
@@ -4,6 +4,7 @@ DESCRIPTION: Datenbank-Schnittstelle für Note-Metadaten und Artefakt-Prüfung.
WP-14: Umstellung auf zentrale database-Infrastruktur.
WP-24c: Implementierung der herkunftsbasierten Lösch-Logik (Origin-Purge).
Verhindert das versehentliche Löschen von inversen Kanten beim Re-Import.
VERSION v2.2.0: Integration der Authority-Prüfung für Point-IDs.
VERSION: 2.2.0 (WP-24c: Protected Purge & Authority Lookup)
STATUS: Active
"""
@@ -49,7 +50,6 @@ def is_explicit_edge_present(client: QdrantClient, prefix: str, edge_id: str) ->
"""
_, _, edges_col = collection_names(prefix)
try:
# retrieve erwartet eine Liste von IDs
res = client.retrieve(
collection_name=edges_col,
ids=[edge_id],