You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea: Search results could be exportable directly as FAIRtracks format, meaning one document with categories at the first level containing arrays with non-duplicated objects. One would need to keep track of which categories did not contain arrays in the original input (e.g. doc_info).
Implement alternative search method. Create a SQL query for each category at a time, using DISTINCT keyword, and merge the results. Instead of 0,1,2,3 at the top level, the search results should be categories->[array of non-duplicated results of that category]. The search result would then be a filtered subset of the model browser, which might be useful in many settings.
Create a new doc_info object for the search result. If the original doc_info has a global_id, add this to the doc_info->derived_from array.
Make sure that core query is cached, so that the search is much quicker for the second category and onwards.
Add a radio button or popup menu selection to change between the two result modes. Changing mode will result in a new search, which should be quick if there is a cache
For the FAIRtracks mode: Use standard model browser for search results, based on a metamodel built from the search results from the queries above.
"JSON" export button could then be renamed to "FAIRtracks JSON". GSuite export should work as before.
Should also be available from the REST interface, perhaps by adding a parameter to the search endpoint
Idea: Search results could be exportable directly as FAIRtracks format, meaning one document with categories at the first level containing arrays with non-duplicated objects. One would need to keep track of which categories did not contain arrays in the original input (e.g.
doc_info).doc_infoobject for the search result. If the originaldoc_infohas aglobal_id, add this to thedoc_info->derived_fromarray.