delete

abstract suspend fun delete(name: String, ids: List<PointId>, wait: Boolean = false)

Delete points by id.

Parameters

wait

if true, return only once the change is applied.

Throws

if the collection does not exist.


abstract suspend fun delete(name: String, wait: Boolean = false, filter: FilterBuilder.() -> Unit)

Delete every point matching the given filter.

qdrant.delete("docs") { must { "lang" eq "en" } }

abstract suspend fun delete(name: String, selector: DeleteSelector, wait: Boolean = false)

Delete the points chosen by an already-built DeleteSelector — the form the framework adapters use, where the filter comes from a translator rather than the DSL.

Throws

if the selector carries no ids, or a filter with no conditions (which would match every point).