AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Executes a vector search operation against DynamoDB, finding items that match the specified vector conditions.

Namespace: Amazon.DynamoDBv2.DataModel
Assembly: AWSSDK.DynamoDBv2.dll
Version: 3.x.y.z

Syntax

C#
public abstract IEnumerable<SearchVectorsItem<T>> SearchVectors(
         List<Single> vector,
         Int32 topK,
         SearchVectorsConfig vectorsSearchConfig
)

Parameters

vector
Type: System.Collections.Generic.List<System.Single>

The vector to search for.

topK
Type: System.Int32

The number of top results to return.

vectorsSearchConfig
Type: Amazon.DynamoDBv2.DataModel.SearchVectorsConfig

Config object that can be used to override properties on the table's context for this request.

Return Value


Lazy-loaded collection of results.

Version Information

.NET Framework:
Supported in: 4.7.2 and newer