SearchModelFactory.SearchServiceLimits 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 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
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.
The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.
The maximum number of objects in complex collections allowed per document.
Returns
A new SearchServiceLimits instance for mocking.