SearchIndexerClient.RunIndexer Method

Definition

Overloads

Name Description
RunIndexer(String, RequestContext)

[Protocol Method] Runs an indexer on-demand.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
RunIndexer(String, CancellationToken)

Runs an indexer on-demand.

RunIndexer(String, RequestContext)

Source:
SearchIndexerClient.cs

[Protocol Method] Runs an indexer on-demand.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response RunIndexer(string indexerName, Azure.RequestContext context);
abstract member RunIndexer : string * Azure.RequestContext -> Azure.Response
override this.RunIndexer : string * Azure.RequestContext -> Azure.Response
Public Overridable Function RunIndexer (indexerName As String, context As RequestContext) As Response

Parameters

indexerName
String

The name of the indexer.

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

indexerName is null.

indexerName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

RunIndexer(String, CancellationToken)

Source:
SearchIndexerClient.cs
Source:
SearchIndexerClient.cs

Runs an indexer on-demand.

public virtual Azure.Response RunIndexer(string indexerName, System.Threading.CancellationToken cancellationToken = default);
abstract member RunIndexer : string * System.Threading.CancellationToken -> Azure.Response
override this.RunIndexer : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RunIndexer (indexerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

indexerName
String

The name of the indexer.

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

The Response from the server.

Exceptions

indexerName is null.

indexerName is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to