Dela via


SearchModelFactory.SearchServiceLimits Method

Definition

Initializes a new instance of SearchServiceLimits.

public static Azure.Search.Documents.Indexes.Models.SearchServiceLimits SearchServiceLimits (int? maxFieldsPerIndex = default, int? maxFieldNestingDepthPerIndex = default, int? maxComplexCollectionFieldsPerIndex = default, int? maxComplexObjectsInCollectionsPerDocument = default, long? maxStoragePerIndexInBytes = default);
static member SearchServiceLimits : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int64> -> Azure.Search.Documents.Indexes.Models.SearchServiceLimits
Public Shared Function SearchServiceLimits (Optional maxFieldsPerIndex As Nullable(Of Integer) = Nothing, Optional maxFieldNestingDepthPerIndex As Nullable(Of Integer) = Nothing, Optional maxComplexCollectionFieldsPerIndex As Nullable(Of Integer) = Nothing, Optional maxComplexObjectsInCollectionsPerDocument As Nullable(Of Integer) = Nothing, Optional maxStoragePerIndexInBytes As Nullable(Of Long) = Nothing) As SearchServiceLimits

Parameters

maxFieldsPerIndex
Nullable<Int32>

The maximum allowed fields per index.

maxFieldNestingDepthPerIndex
Nullable<Int32>

The maximum depth which you can nest sub-fields in an index, including the top-level complex field. For example, a/b/c has a nesting depth of 3.

maxComplexCollectionFieldsPerIndex
Nullable<Int32>

The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.

maxComplexObjectsInCollectionsPerDocument
Nullable<Int32>

The maximum number of objects in complex collections allowed per document.

maxStoragePerIndexInBytes
Nullable<Int64>

The maximum amount of storage in bytes allowed per index.

Returns

A new SearchServiceLimits instance for mocking.

Applies to