SearchModelFactory.IndexingParameters 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.
Represents parameters for indexer execution.
public static Azure.Search.Documents.Indexes.Models.IndexingParameters IndexingParameters(int? batchSize = default, int? maxFailedItems = default, int? maxFailedItemsPerBatch = default, Azure.Search.Documents.Indexes.Models.IndexingParametersConfiguration indexingParametersConfiguration = default);
static member IndexingParameters : Nullable<int> * Nullable<int> * Nullable<int> * Azure.Search.Documents.Indexes.Models.IndexingParametersConfiguration -> Azure.Search.Documents.Indexes.Models.IndexingParameters
Public Shared Function IndexingParameters (Optional batchSize As Nullable(Of Integer) = Nothing, Optional maxFailedItems As Nullable(Of Integer) = Nothing, Optional maxFailedItemsPerBatch As Nullable(Of Integer) = Nothing, Optional indexingParametersConfiguration As IndexingParametersConfiguration = Nothing) As IndexingParameters
Parameters
The number of items that are read from the data source and indexed as a single batch in order to improve performance. The default depends on the data source type.
The maximum number of items that can fail indexing for indexer execution to still be considered successful. -1 means no limit. Default is 0.
The maximum number of items in a single batch that can fail indexing for the batch to still be considered successful. -1 means no limit. Default is 0.
- indexingParametersConfiguration
- IndexingParametersConfiguration
A dictionary of indexer-specific configuration properties. Each name is the name of a specific property. Each value must be of a primitive type.
Returns
A new IndexingParameters instance for mocking.