createCollectionIfNotExists

Create a collection unless it already exists. Returns true if it was created, false if it already existed.

Race-tolerant: it attempts the create and treats the server's KdrantException.AlreadyExists (HTTP 409) as "already there", so concurrent callers don't fail — unlike a check-then-create.

qdrant.createCollectionIfNotExists("articles") { vector { size = 1_536; distance = Distance.COSINE } }