TopK Vector Search Guide
f32_vector()
and add a vector_index()
to it:
vector_distance()
function.
It computes a numeric value(depending on the vector distance metric specified in the vector index)
which you can use to sort the results:
title_embedding
field using the vector_distance()
function.title_similarity
field.title_similarity
field in a descending order.filter()
stage to the query: