Dela via


SearchModelFactory.SearchIndexerLimits Method

Definition

Initializes a new instance of SearchIndexerLimits.

public static Azure.Search.Documents.Indexes.Models.SearchIndexerLimits SearchIndexerLimits (TimeSpan? maxRunTime, long? maxDocumentExtractionSize, long? maxDocumentContentCharactersToExtract);
static member SearchIndexerLimits : Nullable<TimeSpan> * Nullable<int64> * Nullable<int64> -> Azure.Search.Documents.Indexes.Models.SearchIndexerLimits
Public Shared Function SearchIndexerLimits (maxRunTime As Nullable(Of TimeSpan), maxDocumentExtractionSize As Nullable(Of Long), maxDocumentContentCharactersToExtract As Nullable(Of Long)) As SearchIndexerLimits

Parameters

maxRunTime
Nullable<TimeSpan>

The maximum duration that the indexer is permitted to run for one execution.

maxDocumentExtractionSize
Nullable<Int64>

The maximum size of a document, in bytes, which will be considered valid for indexing.

maxDocumentContentCharactersToExtract
Nullable<Int64>

The maximum number of characters that will be extracted from a document picked up for indexing.

Returns

A new SearchIndexerLimits instance for mocking.

Applies to