SearchModelFactory.IndexerState 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.
Initializes a new instance of IndexerState.
public static Azure.Search.Documents.Indexes.Models.IndexerState IndexerState (Azure.Search.Documents.Indexes.Models.IndexingMode? mode = default, string allDocumentsInitialChangeTrackingState = default, string allDocumentsFinalChangeTrackingState = default, string resetDocumentsInitialChangeTrackingState = default, string resetDocumentsFinalChangeTrackingState = default, System.Collections.Generic.IEnumerable<string> resetDocumentKeys = default, System.Collections.Generic.IEnumerable<string> resetDataSourceDocumentIds = default);
static member IndexerState : Nullable<Azure.Search.Documents.Indexes.Models.IndexingMode> * string * string * string * string * seq<string> * seq<string> -> Azure.Search.Documents.Indexes.Models.IndexerState
Public Shared Function IndexerState (Optional mode As Nullable(Of IndexingMode) = Nothing, Optional allDocumentsInitialChangeTrackingState As String = Nothing, Optional allDocumentsFinalChangeTrackingState As String = Nothing, Optional resetDocumentsInitialChangeTrackingState As String = Nothing, Optional resetDocumentsFinalChangeTrackingState As String = Nothing, Optional resetDocumentKeys As IEnumerable(Of String) = Nothing, Optional resetDataSourceDocumentIds As IEnumerable(Of String) = Nothing) As IndexerState
Parameters
- mode
- Nullable<IndexingMode>
The mode the indexer is running in.
- allDocumentsInitialChangeTrackingState
- String
Change tracking state used when indexing starts on all documents in the datasource.
- allDocumentsFinalChangeTrackingState
- String
Change tracking state value when indexing finishes on all documents in the datasource.
- resetDocumentsInitialChangeTrackingState
- String
Change tracking state used when indexing starts on select, reset documents in the datasource.
- resetDocumentsFinalChangeTrackingState
- String
Change tracking state value when indexing finishes on select, reset documents in the datasource.
- resetDocumentKeys
- IEnumerable<String>
The list of document keys that have been reset. The document key is the document's unique identifier for the data in the search index. The indexer will prioritize selectively re-ingesting these keys.
- resetDataSourceDocumentIds
- IEnumerable<String>
The list of datasource document ids that have been reset. The datasource document id is the unique identifier for the data in the datasource. The indexer will prioritize selectively re-ingesting these ids.
Returns
A new IndexerState instance for mocking.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應