SearchServiceLimits Class

  • java.lang.Object
    • com.azure.search.documents.indexes.models.SearchServiceLimits

Implements

public final class SearchServiceLimits
implements JsonSerializable<SearchServiceLimits>

Represents various service level limits.

Method Summary

Modifier and Type Method and Description
static SearchServiceLimits fromJson(JsonReader jsonReader)

Reads an instance of SearchServiceLimits from the JsonReader.

Integer getMaxComplexCollectionFieldsPerIndex()

Get the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.

Integer getMaxComplexObjectsInCollectionsPerDocument()

Get the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.

Long getMaxCumulativeIndexerRuntimeSeconds()

Get the maxCumulativeIndexerRuntimeSeconds property: The maximum cumulative indexer runtime in seconds allowed for the service.

Integer getMaxFieldNestingDepthPerIndex()

Get the maxFieldNestingDepthPerIndex property: The maximum depth which you can nest sub-fields in an index, including the top-level complex field.

Integer getMaxFieldsPerIndex()

Get the maxFieldsPerIndex property: The maximum allowed fields per index.

Long getMaxStoragePerIndexInBytes()

Get the maxStoragePerIndexInBytes property: The maximum amount of storage in bytes allowed per index.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static SearchServiceLimits fromJson(JsonReader jsonReader)

Reads an instance of SearchServiceLimits from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SearchServiceLimits if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SearchServiceLimits.

getMaxComplexCollectionFieldsPerIndex

public Integer getMaxComplexCollectionFieldsPerIndex()

Get the maxComplexCollectionFieldsPerIndex property: The maximum number of fields of type Collection(Edm.ComplexType) allowed in an index.

Returns:

the maxComplexCollectionFieldsPerIndex value.

getMaxComplexObjectsInCollectionsPerDocument

public Integer getMaxComplexObjectsInCollectionsPerDocument()

Get the maxComplexObjectsInCollectionsPerDocument property: The maximum number of objects in complex collections allowed per document.

Returns:

the maxComplexObjectsInCollectionsPerDocument value.

getMaxCumulativeIndexerRuntimeSeconds

public Long getMaxCumulativeIndexerRuntimeSeconds()

Get the maxCumulativeIndexerRuntimeSeconds property: The maximum cumulative indexer runtime in seconds allowed for the service.

Returns:

the maxCumulativeIndexerRuntimeSeconds value.

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:

the maxFieldNestingDepthPerIndex value.

getMaxFieldsPerIndex

public Integer getMaxFieldsPerIndex()

Get the maxFieldsPerIndex property: The maximum allowed fields per index.

Returns:

the maxFieldsPerIndex value.

getMaxStoragePerIndexInBytes

public Long getMaxStoragePerIndexInBytes()

Get the maxStoragePerIndexInBytes property: The maximum amount of storage in bytes allowed per index.

Returns:

the maxStoragePerIndexInBytes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to