-
Notifications
You must be signed in to change notification settings - Fork 29
OLS Treeview Component Update
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:

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.

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.