neighborCount property

int? neighborCount
getter/setter pair

The number of nearest neighbors to be retrieved from database for each query.

If not set, will use the default from the service configuration (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config).

Implementation

core.int? neighborCount;