Approximate KNN search with vector ID instead of vector data

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser): OpenSearch 2.5

Describe the issue:

I have a domain with an index which contains few M of vectors.
I would like to perform approximate KNN search to one of the vectors.
For now what I am doing is to first select the document by ID , and then execute a second call to run the approximate search with the vector I fetched.
Is there a way to save this amount of time and just ask to perform KNN search by document ID?


Hi @gil.amsalem,

I dont think we have this feature.

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