SearchIndexerClient.Resync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Resync(String, RequestContent, RequestContext) |
[Protocol Method] Resync selective options from the datasource to be re-ingested by the indexer."
|
| Resync(String, IndexerResyncBody, CancellationToken) |
Resync selective options from the datasource to be re-ingested by the indexer.". |
Resync(String, RequestContent, RequestContext)
- Source:
- SearchIndexerClient.cs
[Protocol Method] Resync selective options from the datasource to be re-ingested by the indexer."
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.Response Resync(string indexerName, Azure.Core.RequestContent content, Azure.RequestContext context = default);
abstract member Resync : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
override this.Resync : string * Azure.Core.RequestContent * Azure.RequestContext -> Azure.Response
Public Overridable Function Resync (indexerName As String, content As RequestContent, Optional context As RequestContext = Nothing) As Response
Parameters
- indexerName
- String
The name of the indexer.
- content
- RequestContent
The content to send as the body of the request.
- 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 or content is null.
indexerName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
Resync(String, IndexerResyncBody, CancellationToken)
- Source:
- SearchIndexerClient.cs
Resync selective options from the datasource to be re-ingested by the indexer.".
public virtual Azure.Response Resync(string indexerName, Azure.Search.Documents.Indexes.Models.IndexerResyncBody indexerResync, System.Threading.CancellationToken cancellationToken = default);
abstract member Resync : string * Azure.Search.Documents.Indexes.Models.IndexerResyncBody * System.Threading.CancellationToken -> Azure.Response
override this.Resync : string * Azure.Search.Documents.Indexes.Models.IndexerResyncBody * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function Resync (indexerName As String, indexerResync As IndexerResyncBody, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- indexerName
- String
The name of the indexer.
- indexerResync
- IndexerResyncBody
The definition of the indexer resync options.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
indexerName or indexerResync is null.
indexerName is an empty string, and was expected to be non-empty.
Service returned a non-success status code.