newVectorQuery

fun newVectorQuery(field: String, queryVector: ByteArray, k: Int): Query

Create a new vector query for the provided field targeting the byte vector

Return

A new vector query

Parameters

field

The field to query

queryVector

The byte vector target

k

The number of nearest neighbors to gather