SearchIndexerClient.ResetDocuments 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.
Resets specific documents in the datasource to be selectively re-ingested by the indexer.
public virtual Azure.Response ResetDocuments (string indexerName, bool? overwrite = default, Azure.Search.Documents.Models.ResetDocumentOptions resetDocumentOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetDocuments : string * Nullable<bool> * Azure.Search.Documents.Models.ResetDocumentOptions * System.Threading.CancellationToken -> Azure.Response
override this.ResetDocuments : string * Nullable<bool> * Azure.Search.Documents.Models.ResetDocumentOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function ResetDocuments (indexerName As String, Optional overwrite As Nullable(Of Boolean) = Nothing, Optional resetDocumentOptions As ResetDocumentOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- indexerName
- String
The name of the indexer to reset documents for.
If false
, keys or ids will be appended to existing ones. If true
, only the keys or ids in this payload will be queued to be re-ingested.
- resetDocumentOptions
- ResetDocumentOptions
The reset options to use.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be canceled.
Returns
A Task<TResult> representing the result of the asynchronous operation.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應