Skip to content

Commit

Permalink
OSM ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
docuracy committed Jan 27, 2025
1 parent c09df4e commit 888b792
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vespa/repository/api/ingestion/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,11 @@ async def background_ingestion(dataset_name: str, task_id: str, limit: int = Non
global doc_count
logger.info(f"Total documents processed: {doc_count}")
global types
types = {
k: {"count": v, "AAT": None, "GeoNames": None}
for k, v in sorted(types.items(), key=lambda item: str(item[0]))
}
# types = {
# k: {"count": v, "AAT": None, "GeoNames": None}
# for k, v in sorted(types.items(), key=lambda item: str(item[0]))
# }
types = dict(sorted(types.items(), key=lambda item: str(item[0])))
logger.info(f"Type counts: {types}")

# Final update to the task tracker
Expand Down

0 comments on commit 888b792

Please sign in to comment.