Share via


MapsSearchClient.FuzzyBatchSearchAsync Method

Definition

The Search Address Batch API sends batches of queries to Search Fuzzy API using just a single API call. You can call Search Address Fuzzy Batch API to run either asynchronously (async) or synchronously (sync). The async API allows caller to batch up to 10,000 queries and sync API up to 100 queries.

public virtual System.Threading.Tasks.Task<Azure.Maps.Search.FuzzySearchBatchOperation> FuzzyBatchSearchAsync (Azure.WaitUntil waitUntil, System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.FuzzySearchQuery> queries, System.Threading.CancellationToken cancellationToken = default);
abstract member FuzzyBatchSearchAsync : Azure.WaitUntil * seq<Azure.Maps.Search.Models.FuzzySearchQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Maps.Search.FuzzySearchBatchOperation>
override this.FuzzyBatchSearchAsync : Azure.WaitUntil * seq<Azure.Maps.Search.Models.FuzzySearchQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Maps.Search.FuzzySearchBatchOperation>
Public Overridable Function FuzzyBatchSearchAsync (waitUntil As WaitUntil, queries As IEnumerable(Of FuzzySearchQuery), Optional cancellationToken As CancellationToken = Nothing) As Task(Of FuzzySearchBatchOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return immediately after starting the operation.

queries
IEnumerable<FuzzySearchQuery>

The list of search fuzzy queries/requests to process. The list can contain a max of 10,000 queries and must contain at least 1 query.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

queries is null.

Applies to