long2ice / meilisync

Realtime sync data from MySQL/PostgreSQL/MongoDB to Meilisearch
https://github.com/long2ice/meilisync
Apache License 2.0
285 stars 43 forks source link

Meilisync Not Resyncing After Deleting Documents #111

Open n-jaisabai opened 4 months ago

n-jaisabai commented 4 months ago

Hello!

I'm having trouble with Meilisync after deleting all documents in Meilisearch. It seems like Meilisync isn't picking up the changes and resyncing the data.

Is there a way to manually trigger a resync in Meilisync after deleting documents in Meilisearch, or is there a specific configuration needed to handle this scenario?

matinone commented 3 months ago

Hi @n-jaisabai, I think you are misunderstanding how Meilisync works. Meilisync listens for changes in your database, not in Meilisearch, so the sync would be triggered if you delete something in your database, not in Meilisearch.

n-jaisabai commented 3 months ago

Thank @matinone, for your response. I understand that Meilisync doesn't listen for changes in Meilisearch. I just want to resync the database from the beginning.

I stopped and restarted Meilisync, expecting it to resync the data, but it doesn't seem to be working.

Is there any way to resync from the beginning?

Database: PostgreSQL 14