Purge deletes the collection (Milvius / Zilliz) => Failed to insert into collection: can't find collection
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3480205. -->
Reported by: [eme](https://www.drupal.org/user/542492)
Related to !177
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>When you hit the "purge" button of an index that is based on a collection on zilliz it won't delete the data in the collection but the collection itself.</p>
<p>Taged as minor since you simply need to revalidate the server and it will recreate the collection.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Create an zilliz server<br>
Create an index<br>
Hit the purge button<br>
Try to reindex => does not work since there is no collection anymore. Error is Failed to insert into collection: can't find collection</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Delete the data, not the colloction, or recreate the collection after deletion.</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue