newVectorQuery

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

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

Return

A new vector query

Parameters

field

The field to query

queryVector

The float vector target

k

The number of nearest neighbors to gather