Skip to content

OLS Treeview Component Update

henrietteharmse edited this page Aug 11, 2025 · 2 revisions

The tree view component on the Ontology page, as well as on the Entity page, had an inherent bug that resulted in the truncation of the node's direct children there were more than 1000. This was as a result of our backend infrastructure, where we do not allow Solr to return more than 1000 results in one request for performance reasons.

To resolve this data discrepancy in the tree view structure, we have updated the component in a way that if an entity has more than 1000 direct children, then a table structure will be displayed, similar to below:

Screenshot 2025-08-07 at 10 40 29

As a result of this change, the user will be able to filter direct children and will have access to all direct children rather than first 1000, which was the case before. Filtering the result is very simple with just typing the desired text into the search box as shown below.

Screenshot 2025-08-07 at 10 41 48

We believe this change enhances the usability of the tree view component for ontologies, ensures data integrity, while ensuring that OLS keeps on being performant.

Clone this wiki locally