MaastrichtU-IDS / fair-enough

♻️ Service to define and run evaluations of the FAIR principles (Findable, Accessible, Interoperable, Reusable) on online resources
https://fair-enough.semanticscience.org
MIT License
7 stars 4 forks source link

enable text search on all metadata #5

Open micheldumontier opened 2 years ago

micheldumontier commented 2 years ago

I'd like to be able to search all the evaluations using a global search input box. for instance, to search for "sea ice" and get matching records.

vemonet commented 2 years ago

Would love to, but it's not really useful if we don't have the title of the resource extracted (cf. your other issue)

Also using FAIRsharing FAIR evaluator JSON-LD model creates quite an horrible object to search through, so there are needs to better think the whole implementation of the specifications

micheldumontier commented 2 years ago

can't just text search in mongodb ?

vemonet commented 2 years ago

We retrieve different metadata for each evals, this kind of search requires to be done at the Metrics Test level (each eval as multiple metrics tests)

The problem is that the "JSON-LD" model that the original FAIR evaluator is forcing us to use is really convoluted and makes it messy to implement the text search (need to do it on nested array and objects with changing properties and depth)

vemonet commented 2 years ago

It can already be done on the title / URI using the table filter solution (it's at 2 clicks of reach)