SearchServiceLimits Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. SearchServiceLimits
- com.
Implements
public final class SearchServiceLimits
implements JsonSerializable<SearchServiceLimits>
Represents various service level limits.
Constructor Summary
Constructor | Description |
---|---|
SearchServiceLimits() |
Creates an instance of Search |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Search |
fromJson(JsonReader jsonReader)
Reads an instance of Search |
Integer |
getMaxComplexCollectionFieldsPerIndex()
Get the max |
Integer |
getMaxComplexObjectsInCollectionsPerDocument()
Get the max |
Integer |
getMaxFieldNestingDepthPerIndex()
Get the max |
Integer |
getMaxFieldsPerIndex()
Get the max |
Long |
getMaxStoragePerIndexInBytes()
Get the max |
Search |
setMaxComplexCollectionFieldsPerIndex(Integer maxComplexCollectionFieldsPerIndex)
Set the max |
Search |
setMaxComplexObjectsInCollectionsPerDocument(Integer maxComplexObjectsInCollectionsPerDocument)
Set the max |
Search |
setMaxFieldNestingDepthPerIndex(Integer maxFieldNestingDepthPerIndex)
Set the max |
Search |
setMaxFieldsPerIndex(Integer maxFieldsPerIndex)
Set the max |
Search |
setMaxStoragePerIndexInBytes(Long maxStoragePerIndexInBytes)
Set the max |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SearchServiceLimits
public SearchServiceLimits()
Creates an instance of SearchServiceLimits class.
Method Details
fromJson
public static SearchServiceLimits fromJson(JsonReader jsonReader)
Reads an instance of SearchServiceLimits from the JsonReader.
Parameters:
Returns:
Throws:
getMaxComplexCollectionFieldsPerIndex
public Integer getMaxComplexCollectionFieldsPerIndex()
Get the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.
Returns:
getMaxComplexObjectsInCollectionsPerDocument
public Integer getMaxComplexObjectsInCollectionsPerDocument()
Get the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.
Returns:
getMaxFieldNestingDepthPerIndex
public Integer 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:
getMaxFieldsPerIndex
public Integer getMaxFieldsPerIndex()
Get the maxFieldsPerIndex property: The maximum allowed fields per index.
Returns:
getMaxStoragePerIndexInBytes
public Long getMaxStoragePerIndexInBytes()
Get the maxStoragePerIndexInBytes property: The maximum amount of storage in bytes allowed per index.
Returns:
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:
Returns:
setMaxComplexObjectsInCollectionsPerDocument
public SearchServiceLimits setMaxComplexObjectsInCollectionsPerDocument(Integer maxComplexObjectsInCollectionsPerDocument)
Set the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.
Parameters:
Returns:
setMaxFieldNestingDepthPerIndex
public SearchServiceLimits 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. For example, a/b/c has a nesting depth of 3.
Parameters:
Returns:
setMaxFieldsPerIndex
public SearchServiceLimits setMaxFieldsPerIndex(Integer maxFieldsPerIndex)
Set the maxFieldsPerIndex property: The maximum allowed fields per index.
Parameters:
Returns:
setMaxStoragePerIndexInBytes
public SearchServiceLimits setMaxStoragePerIndexInBytes(Long maxStoragePerIndexInBytes)
Set the maxStoragePerIndexInBytes property: The maximum amount of storage in bytes allowed per index.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java