copy

fun copy(vector: FloatArray = this.values, k: Int = this.k, maxDistance: Float? = this.maxDistance, scan: ScanPolicy = this.scan): VectorQuery(source)

This query with the given settings changed, the documentFilter kept; the result is validated like a new instance.