Override default 100 results lookup.

Is there away to display more than 100 results after performing a lookup via the web interface?

I see the following message “Warning: Your lookup led to many results! Showing only 100 studies to avoid performance issue. Please make your query more specific, then relaunch the lookup.”

Any help would be greatly appreciated.

Many Thanks

Chris

I think that is a configuration option:

// Maximum number of query/retrieve DICOM requests that are
// maintained by Orthanc. The least recently used requests get
// deleted as new requests are issued.
“QueryRetrieveSize” : 100,

Hi ,

Thanks for the reply. I did try changing that setting but unfortunately does not have any effect.

Thanks

Chri

Sorry about that. You might want to check the default config file: https://hg.orthanc-server.com/orthanc/file/Orthanc-1.9.7/OrthancServer/Resources/Configuration.json

With the REST API tools/find you can explicitly specify a Limit: https://book.orthanc-server.com/users/rest.html#id4

I was looking through the source code for explorer, and there is a constant defined there called:

var LIMIT_RESOURCES = 100;

Not sure if there is a way to change that via a config setting or via the web interface. If you are a developer, you can see that Do Lookup requests have the format of:

where the limit is LIMIT_RESOURCES + 1. You can even manually set LIMIT_RESOURCES in the console.

{“Level”:“Study”,“Expand”:true,“Limit”:51,“Query”:{“StudyDate”:“”,“AccessionNumber”:“test”},“Full”:true}

There are a couple of other config options in the config file, but I don’t think those affect the Explorer interface.

// The maximum number of results for a single C-FIND request at the
// Patient, Study or Series level. Setting this option to “0” means
// no limit.
“LimitFindResults” : 0,

// The maximum number of results for a single C-FIND request at the
// Instance level. Setting this option to “0” means no limit.
“LimitFindInstances” : 0,

I confirm that there’s currently no way to change this Orthanc Explorer setting dynamically.

A workaround now is to make your search more focused.

HTH,

Alain

Hello,

I’ve just added this item to our wishlist:
https://hg.orthanc-server.com/orthanc/rev/6290a0b34aad

Sébastien-

Thank you all for your input, and suggestions, greatly appreciated.

Regards

Chris