Is there any interface in the Java Sdk that can clear a collection?
Is there any interface in the Java Sdk that can clear a collection?
Sounds like the "truncate" of MySQL. No. Milvus doesn't have such an interface.
Sounds like the "truncate" of MySQL. No. Milvus doesn't have such an interface.
anyway,Is there any way to clear a collection of data? Just like operating in attu
current you need to drop and recreate.
we are working on truncate collection already
The Attu calls collection.delete(expr="id > xxx") or collection.delete(expr="pk != \"\"") to clean the data.
Milvus doesn't provide "cleanCollection" interface or "truncate" interface.