search

abstract suspend fun search(name: String, configure: SearchBuilder.() -> Unit): List<ScoredPoint>

Nearest-vector search.

val hits = qdrant.search("docs") {
query(queryVector)
limit = 5
filter { must { "lang" eq "en" } }
}

Throws

if the collection does not exist.

if the query is malformed (e.g. wrong vector size).