Class SearchServiceLimits
java.lang.Object
com.azure.search.documents.indexes.models.SearchServiceLimits
Represents various service level limits.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.Get the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.Get the maxFieldNestingDepthPerIndex property: The maximum depth which you can nest sub-fields in an index, including the top-level complex field.Get the maxFieldsPerIndex property: The maximum allowed fields per index.setMaxComplexCollectionFieldsPerIndex
(Integer maxComplexCollectionFieldsPerIndex) Set the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.setMaxComplexObjectsInCollectionsPerDocument
(Integer maxComplexObjectsInCollectionsPerDocument) Set the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.setMaxFieldNestingDepthPerIndex
(Integer maxFieldNestingDepthPerIndex) Set the maxFieldNestingDepthPerIndex property: The maximum depth which you can nest sub-fields in an index, including the top-level complex field.setMaxFieldsPerIndex
(Integer maxFieldsPerIndex) Set the maxFieldsPerIndex property: The maximum allowed fields per index.
-
Constructor Details
-
SearchServiceLimits
public SearchServiceLimits()
-
-
Method Details
-
getMaxFieldsPerIndex
Get the maxFieldsPerIndex property: The maximum allowed fields per index.- Returns:
- the maxFieldsPerIndex value.
-
setMaxFieldsPerIndex
Set the maxFieldsPerIndex property: The maximum allowed fields per index.- Parameters:
maxFieldsPerIndex
- the maxFieldsPerIndex value to set.- Returns:
- the SearchServiceLimits object itself.
-
getMaxFieldNestingDepthPerIndex
Get the maxFieldNestingDepthPerIndex property: 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.- Returns:
- the maxFieldNestingDepthPerIndex value.
-
setMaxFieldNestingDepthPerIndex
Set the maxFieldNestingDepthPerIndex property: 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.- Parameters:
maxFieldNestingDepthPerIndex
- the maxFieldNestingDepthPerIndex value to set.- Returns:
- the SearchServiceLimits object itself.
-
getMaxComplexCollectionFieldsPerIndex
Get the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.- Returns:
- the maxComplexCollectionFieldsPerIndex value.
-
setMaxComplexCollectionFieldsPerIndex
public SearchServiceLimits setMaxComplexCollectionFieldsPerIndex(Integer maxComplexCollectionFieldsPerIndex) Set the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.- Parameters:
maxComplexCollectionFieldsPerIndex
- the maxComplexCollectionFieldsPerIndex value to set.- Returns:
- the SearchServiceLimits object itself.
-
getMaxComplexObjectsInCollectionsPerDocument
Get the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.- Returns:
- the maxComplexObjectsInCollectionsPerDocument value.
-
setMaxComplexObjectsInCollectionsPerDocument
public SearchServiceLimits setMaxComplexObjectsInCollectionsPerDocument(Integer maxComplexObjectsInCollectionsPerDocument) Set the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.- Parameters:
maxComplexObjectsInCollectionsPerDocument
- the maxComplexObjectsInCollectionsPerDocument value to set.- Returns:
- the SearchServiceLimits object itself.
-