Skip to main content
Skip table of contents

UC Sort Search Results [C IG]


When searching for items or collections, we want to get the results sorted based on different criteria for the metadata fields. This can be done by adding the sort element to our search document


Doing a search for items

PUT /item

We can in our search document specify which fields we want the result to be sorted on

<ItemSearchDocument xmlns="">

Results will be sorted in the order that they are given so in this case we first sort on the field durationSeconds in descending order and then on originalFormat in ascending order.

By setting the element caseSensitiveSorting to false for a metadata-field the values of that field can be sorted in a case-insensitive order.


How to

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.