We have been working with Orthanc for more than 2 years (with Postgres and all suggestions to speed up). One thing I noticed is that it is getting really slow when we search by date, but if we search by Accession Number, Patient Name or Patient ID works instantly.
How Orthanc makes a date search? Maybe it is missing a database index for dates?