libsql icon indicating copy to clipboard operation
libsql copied to clipboard

"vector_top_k" with duplicated vectors

Open jeremieamstutz opened this issue 8 months ago • 0 comments

Hey everyone!

I have a little database that I use for semantic search.

I only embed a subset of the text which means that some embedding can be duplicated.

Without the index, I can access them without any issue, but with libsql_vector_idx, only one of the row is returned. I guess that only one rowid can be stored per vector.

Any idea how I can solve that (except adding a little bit of noise?)

jeremieamstutz avatar Jun 14 '25 20:06 jeremieamstutz