similarityToQueryVector

Returns a DoubleValues instance for computing the vector similarity score per document against the byte query vector

Return

DoubleValues instance

Parameters

ctx

the context for which to return the DoubleValues

queryVector

byte query vector

vectorField

knn byte field name

Throws

IOException

if an IOException occurs


Returns a DoubleValues instance for computing the vector similarity score per document against the float query vector

Return

DoubleValues instance

Parameters

ctx

the context for which to return the DoubleValues

queryVector

float query vector

vectorField

knn float field name

Throws

IOException

if an IOException occurs