-
Notifications
You must be signed in to change notification settings - Fork 50
Description
I don't know how difficult this would be, since I haven't investigated the elastiknn field implementation. Most fields in Elasticsearch can accept an array of values that you can match and sort against, and we could use the same thing for the dense vector field. Here is our use case:
We have long form descriptions of objects we want to index at the sentence-vector level. Each object description therefore has multiple vectors associated with it. When I perform a knn query, I want to get back a document if any of those sentence-vectors is close.
We considered having a separate document for every sentence-vector along with the object id, but this creates a lot of challenges if we want to filter against other object properties.
Thank you for the truly excellent software!