monkey
This is a service that synchronizes the tag
documents in the data
search index with the
metadata
database.
Requirements/Design/Implementation Notes
-
It should use the same exchange as infosquito to make it easier for scripts to trigger both at once.
-
It should first read all of the current
tag
documents and make sure that they are still in themetadata
database. Both the tag needs to be present and all of the files and folders it is attached to need to be present, and no more. -
Second, it should reindex everything in the
tags
table making sure all of the entries in theattached_tags
table are present.