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
We'd like to add a new feature to the search to allow users to search for catalogue items with a particular metadata property value. Similar to the search in the explorer interface, where the filtering allows you to select data elements with a particular value. This could be implemented as a filter, but might be better implemented as a search term.
Additional context
I believe the backend functionality is already in place, but this might need confirming first!
The basic interface could let you choose a namespace / key, but we might think about making use of the profile definitions to make this easier to use. The profile endpoints may even be a good place to start...
Goals
The Mauro backend does currently support search filter/criteria for searching against metadata, via namespace/key and matching value. This is a start, but this should be expanded a bit. Considering that any metadata namespace could potentially be used, this search update should focus on profiles - these give structure to metadata and there are Mauro functions already available to ascertain what profiles are available and their definitions, which can reduce the possible scope for a user.
The goals of this update are:
Allow the user to select one or more profile keys, with a value, to act as an additional filter to a search term.
Be able to select a profile key from one or more profiles, allowing a mix-and-match filter.
Send these profile filters to Mauro and convert to appropriate search criteria.
Allow the user to initially select profile filters from the Search page, and then adapt them via the Search Listings page.
To confirm the question raised, having looked at the backend code there is functionality in Mauro to define a search filter for a metadata key/value in the format:
Sending this as part of the POST /api/catalogueItems/search endpoint allows this already, though some adjustment may be required. Current implementation is to always do a "phrase" search, which requires an exact match. Given the scope of possible metadata values, the "keyword" search criteria may need to be supported also to handle fuzzy searching.
My proposal, which we've spoken about but I'll put in writing, is that we use 'phrase' matching for profile fields with an enumeration data type, and 'keyword' matching for other profile fields.
Reported by Eleanor Platt
Description
We'd like to add a new feature to the search to allow users to search for catalogue items with a particular metadata property value. Similar to the search in the explorer interface, where the filtering allows you to select data elements with a particular value. This could be implemented as a filter, but might be better implemented as a search term.
Additional context
I believe the backend functionality is already in place, but this might need confirming first!
The basic interface could let you choose a namespace / key, but we might think about making use of the profile definitions to make this easier to use. The profile endpoints may even be a good place to start...
Goals
The Mauro backend does currently support search filter/criteria for searching against metadata, via namespace/key and matching value. This is a start, but this should be expanded a bit. Considering that any metadata namespace could potentially be used, this search update should focus on profiles - these give structure to metadata and there are Mauro functions already available to ascertain what profiles are available and their definitions, which can reduce the possible scope for a user.
The goals of this update are:
Tasks
The text was updated successfully, but these errors were encountered: