Delen via


MapsSearchClient.GetImmediateFuzzyBatchSearchAsync 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.Response<Azure.Maps.Search.Models.SearchAddressBatchResult>> GetImmediateFuzzyBatchSearchAsync (System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.FuzzySearchQuery> queries, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImmediateFuzzyBatchSearchAsync : seq<Azure.Maps.Search.Models.FuzzySearchQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressBatchResult>>
override this.GetImmediateFuzzyBatchSearchAsync : seq<Azure.Maps.Search.Models.FuzzySearchQuery> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Maps.Search.Models.SearchAddressBatchResult>>
Public Overridable Function GetImmediateFuzzyBatchSearchAsync (queries As IEnumerable(Of FuzzySearchQuery), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SearchAddressBatchResult))

Parameters

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

Applies to