elastic/elasticsearch-java

KnnQuery lacks the similarity field

dodie opened this issue · 0 comments

dodie commented

Description

According to the k-nearest neighbor (kNN) search, in the chapter "Search kNN with expected similarity" documentation, it is described that the knn queries can take the similarity parameter to define a minimum expected similarity. However, this parameter not present in the KnnQuery class.