| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | // <auto-generated/> |
| | | 5 | | |
| | | 6 | | #nullable disable |
| | | 7 | | |
| | | 8 | | namespace Azure.Search.Documents.Indexes.Models |
| | | 9 | | { |
| | | 10 | | /// <summary> Represents various service level limits. </summary> |
| | | 11 | | public partial class SearchServiceLimits |
| | | 12 | | { |
| | | 13 | | /// <summary> Initializes a new instance of SearchServiceLimits. </summary> |
| | 0 | 14 | | internal SearchServiceLimits() |
| | | 15 | | { |
| | 0 | 16 | | } |
| | | 17 | | |
| | | 18 | | /// <summary> Initializes a new instance of SearchServiceLimits. </summary> |
| | | 19 | | /// <param name="maxFieldsPerIndex"> The maximum allowed fields per index. </param> |
| | | 20 | | /// <param name="maxFieldNestingDepthPerIndex"> The maximum depth which you can nest sub-fields in an index, inc |
| | | 21 | | /// <param name="maxComplexCollectionFieldsPerIndex"> The maximum number of fields of type Collection(Edm.Comple |
| | | 22 | | /// <param name="maxComplexObjectsInCollectionsPerDocument"> The maximum number of objects in complex collection |
| | 6 | 23 | | internal SearchServiceLimits(int? maxFieldsPerIndex, int? maxFieldNestingDepthPerIndex, int? maxComplexCollectio |
| | | 24 | | { |
| | 6 | 25 | | MaxFieldsPerIndex = maxFieldsPerIndex; |
| | 6 | 26 | | MaxFieldNestingDepthPerIndex = maxFieldNestingDepthPerIndex; |
| | 6 | 27 | | MaxComplexCollectionFieldsPerIndex = maxComplexCollectionFieldsPerIndex; |
| | 6 | 28 | | MaxComplexObjectsInCollectionsPerDocument = maxComplexObjectsInCollectionsPerDocument; |
| | 6 | 29 | | } |
| | | 30 | | |
| | | 31 | | /// <summary> The maximum allowed fields per index. </summary> |
| | 0 | 32 | | public int? MaxFieldsPerIndex { get; } |
| | | 33 | | /// <summary> The maximum depth which you can nest sub-fields in an index, including the top-level complex field |
| | 0 | 34 | | public int? MaxFieldNestingDepthPerIndex { get; } |
| | | 35 | | /// <summary> The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index. </summary> |
| | 0 | 36 | | public int? MaxComplexCollectionFieldsPerIndex { get; } |
| | | 37 | | /// <summary> The maximum number of objects in complex collections allowed per document. </summary> |
| | 0 | 38 | | public int? MaxComplexObjectsInCollectionsPerDocument { get; } |
| | | 39 | | } |
| | | 40 | | } |