Open romajs opened 9 months ago
This line is wrong: https://github.com/dimitrov-adrian/directus-extension-searchsync/blob/main/lib/indexers/meilisearch.js#L47
Current:
await axios.delete(`${config.host}/indexes/${collection}`, axiosConfig);
It should be:
await axios.delete(`${config.host}/indexes/${collection}/documents`, axiosConfig);
Instead of deleting the index documents it's deleting the entire index. 😢
This line is wrong: https://github.com/dimitrov-adrian/directus-extension-searchsync/blob/main/lib/indexers/meilisearch.js#L47
Current:
It should be:
Instead of deleting the index documents it's deleting the entire index. 😢