oeplatform icon indicating copy to clipboard operation
oeplatform copied to clipboard

Migration of existing metadata after new metadata storage (JSONB column) has been implemented and oemetadata is stable.

Open jh-RLI opened this issue 3 years ago • 2 comments

After the implementation of the metadata jsonb field and once the metadata standard is stable, we should do a review of all the existing metadata and update them all as best as possible to the latest standard.

By re-writing all the metadata, all the search fields and tags would be automatically updated as well

jh-RLI avatar Sep 19 '22 10:09 jh-RLI

I just found that the search bar is not finding tables in model_draft with no metadata: see https://openenergy-platform.org/dataedit/view/model_draft?query=TYNDP and https://openenergy-platform.org/dataedit/view/model_draft CTRL+F TYNDP

Please add the list of existing table names to the search function!

Ludee avatar Sep 28 '22 10:09 Ludee

the search vector only uses only complete words,no partial or fuzzy matches. if it was as a keyword in the metadata. it would work.

OR

when updating the search vector, split the table names on the "_" and add each token

wingechr avatar Sep 28 '22 11:09 wingechr

Moved the off topic comments to new issue. This issue is solved with https://github.com/OpenEnergyPlatform/oeplatform/pull/1183

jh-RLI avatar Apr 10 '23 20:04 jh-RLI