Knn Options Class
Options for KNN search.
Definition
Namespace: SphinxConnector.FluentApi.Util
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.4.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.4.0
C#
[SerializableAttribute]
public class KnnOptionsVB
<SerializableAttribute>
Public Class KnnOptions- Inheritance
- Object KnnOptions
Constructors
| KnnOptions | Initializes 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
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| ToString | Returns 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) |