There are two ways to query nearest vectors in elasticsearch:
top-level kNN search object
kNN query
They are slightly similar but different at the time, kNN query is considered expert mode, has fewer fields so I kept these objects separate for type-safety.
@DmitrySamoylov do you mind double checking if this is as expected? I went through the documentation and seems like I've covered everything.
Addresses the missing kNN support coming from https://github.com/vinted/elasticsearch-dsl-rs/pull/265.
There are two ways to query nearest vectors in elasticsearch:
They are slightly similar but different at the time, kNN query is considered expert mode, has fewer fields so I kept these objects separate for type-safety.
@DmitrySamoylov do you mind double checking if this is as expected? I went through the documentation and seems like I've covered everything.