The aggregator has no way to know when a profile has been removed from the index, so there needs to be a job that periodically checks to see if any of Firestore's DB of profiles can no longer be found in the index. If not, that profile needs to be removed from Firestore and then deleted from Algolia too, all in one operation so that they remain synchronized.
The aggregator has no way to know when a profile has been removed from the index, so there needs to be a job that periodically checks to see if any of Firestore's DB of profiles can no longer be found in the index. If not, that profile needs to be removed from Firestore and then deleted from Algolia too, all in one operation so that they remain synchronized.