The documents should have a tags field, which should be an array of ObjectIds of the model "Tags". This means that there will be a new Model, called Tags, with that, a new collection, and somehow there has to be a defined list of available Tags. This will be a job for the territorial team.
Update the document model to have an array of tags, referenced to many "Tag"(s)
The documents should have a
tags
field, which should be an array of ObjectIds of the model "Tags". This means that there will be a new Model, called Tags, with that, a new collection, and somehow there has to be a defined list of available Tags. This will be a job for the territorial team.tags
, referenced to many "Tag"(s)