Run multi-vectors kNN search

Hello everyone!
I’m really interested by the new kNN search functionality of Elasticsearch v8.

Is there any way to run an approximate kNN search on multiple dense_vectors?

I checked the docs but, as of version 8.1.0, there’s no mention about it. Moreover, I tried to create a multi-vector query and execute it through Kibana dev tools console but it doesn’t seem to be supported.

Thank you so much,
Riccardo

What do you mean by run an approximate kNN search on multiple dense_vectors?

If you mean that can a single field have multiple vectors, it is currently not supported.

Also providing multiple query vectors is not supported. But what you can do instead is to issue multiple _knn_search requests with each own query_vector and combine results on your application side.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.