ingestion: report per-platform added/updated correctly; qdrant compose subnet
This commit is contained in:
@@ -216,9 +216,8 @@ def run(cfg, mode: str = "sync", log=None) -> RunStats:
|
||||
stats.chunks_written += len(rows)
|
||||
|
||||
bucket = platform_changes.setdefault(doc.platform, {"documents": 0})
|
||||
bucket["added" if doc.path in manifest else "updated"] = (
|
||||
bucket.get("added" if doc.path in manifest else "updated", 0) + 1
|
||||
)
|
||||
key = "updated" if doc.path in manifest else "added"
|
||||
bucket[key] = bucket.get(key, 0) + 1
|
||||
if doc.path in manifest:
|
||||
stats.updated += 1
|
||||
log(f"updated {doc.path} ({len(points)} chunk(s))")
|
||||
|
||||
Reference in New Issue
Block a user