Skip to content
All field reports
Report
FR-009
Published
Written by
Anders Holm
Reading time
02 min / 379 words

Thirty years of drawings, one query

How we indexed 1.9 million drawings from a hospital estate so that any one of them can be found in eleven milliseconds.

Section 01

An inherited archive

When a regional hospital estate asked us to take over the maintenance of its building records, the archive arrived on 214 hard drives, eleven filing cabinets and a microfilm reader. It covered thirty years and forty-one buildings: about 1.9 million drawings, specifications and survey files in more than sixty formats, from scanned blueprints to the native files of software that no longer runs. Finding the current drawing for a single plant room took the estate team an average of two days. Most of the time they gave up and measured the room again.

Section 02

Indexing what was never indexed

We converted every file to an open format and read the title blocks with text recognition, checked by a person wherever the confidence was low. Each drawing was then registered to the coordinate grid of the estate, so it can be found by location as well as by name: select a room in the model and every drawing that has ever shown it appears in order. The index sits on top of the original files rather than replacing them. As the archive grew past a million records, query time at the 95th percentile fell from seconds to eleven milliseconds.

Fig. 009.1/ Query time, 95th percentile

Unit / ms

Query time, 95th percentile
PeriodP95
Jan 242 400 ms
Mar 241 350 ms
May 24620 ms
Jul 24240 ms
Sep 2495 ms
Nov 2441 ms
Jan 2522 ms
Mar 2514 ms
May 2511 ms
Query time in milliseconds at the 95th percentile while the estate archive was indexed, January 2024 to May 2025.

Section 03

Readable in fifty years

Speed is the visible part, but the harder requirement is time. Every record is stored as PDF/A, IFC or E57, all open and documented formats, and written to three sites in two countries with a checksum verified every week. If our own software disappeared tomorrow, the archive would still be readable with tools that exist today. The engineers on the estate now find any drawing in about the time it takes to ask for it. More importantly, so will whoever maintains these buildings in 2075.

Section 04

What an index costs

Indexing 1.9 million records took fourteen months and a team of four, most of it spent on the oldest material: blueprints from the 1990s scanned at low resolution, where text recognition needed a person to check one title block in five. The newest files were hard in a different way, because they arrive in proprietary formats that change every few years. Converting at the door, on the day a file enters the archive, now costs a few seconds per drawing. Converting thirty years later cost the estate a year. The cheapest index is the one built while the files are still young.

Fig. 009.2/ Records indexed by decade of origin

  • 1990s
    212 000
  • 2000s
    486 000
  • 2010s
    731 000
  • 2020s
    471 000
Drawings, specifications and survey files in the estate archive, grouped by the decade they were created.
Made with Modulify