KnnOptions Class

Options for KNN search.

Definition

Namespace: SphinxConnector.FluentApi.Util
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.4.0
C#
[SerializableAttribute]
public class KnnOptions
Inheritance
Object    KnnOptions

Constructors

KnnOptionsInitializes a new instance of the KnnOptions class

Properties

EarlyTermination Gets or sets a value to indicate whether adaptive early termination is enabled. Default is true.
Ef Gets or sets a value for the dynamic list size used during the search. Default is 10.
Oversampling Gets or sets a value by which k is multiplied during the KNN search.
Rescore Gets or sets a value to enable KNN rescoring. Default is true.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

Knn Perform a KNN search on the float vector attribute name="floatVectorAttributeName"/> (Manticore only).
(Defined by ObjectExtensions)
Knn Perform a KNN search on the float vector attribute floatVectorAttributeName (Manticore only).
(Defined by ObjectExtensions)
Knn Perform a KNN search on the float vector attribute name="floatVectorAttributeName"/> (Manticore only).
(Defined by ObjectExtensions)
Knn Perform a KNN search on the float vector attribute floatVectorAttributeName (Manticore only).
(Defined by ObjectExtensions)

See Also