VectorSearchOption uses ConstantsTrait
The query-time options accepted by the AQL vector similarity functions (`APPROX_NEAR_COSINE`, `APPROX_NEAR_L2`) as their trailing options object.
Distinct from FaithParam (which configures the index at creation time); these tune a single query.
Tags
Table of Contents
Constants
- N_PROBE : string = 'nProbe'
- How many neighbouring centroids to consider for the search.
Constants
N_PROBE
How many neighbouring centroids to consider for the search.
public
string
N_PROBE
= 'nProbe'
The larger the number, the slower the search but the better the results. Overrides the index's FaithParam::DEFAULT_N_PROBE for this query.