Skip to content

Latest commit

 

History

History
executable file
·
19 lines (15 loc) · 1.15 KB

File metadata and controls

executable file
·
19 lines (15 loc) · 1.15 KB

ManticoreSearch.Model.Knn

Object representing a k-nearest neighbor search query

Properties

Name Type Description Notes
Field string Field to perform the k-nearest neighbor search on
K int Deprecated. Use the top-level `limit` parameter instead. [optional]
Query KnnQuery [optional]
QueryVector List<decimal> The vector used as input for the KNN search [optional]
DocId int The document ID used as input for the KNN search [optional]
Ef int Optional parameter controlling the accuracy of the search [optional]
Rescore bool Optional parameter enabling KNN rescoring (disabled by default) [optional]
Oversampling decimal Optional parameter setting a factor by which k is multiplied when executing the KNN search [optional]
Filter QueryFilter [optional]

[Back to Model list] [Back to API list] [Back to README]