Class SearchServiceLimits

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

public final class SearchServiceLimits extends Object
Represents various service level limits.
  • Constructor Details

    • SearchServiceLimits

      public SearchServiceLimits()
  • Method Details

    • getMaxFieldsPerIndex

      public Integer getMaxFieldsPerIndex()
      Get the maxFieldsPerIndex property: The maximum allowed fields per index.
      Returns:
      the maxFieldsPerIndex value.
    • setMaxFieldsPerIndex

      public SearchServiceLimits setMaxFieldsPerIndex(Integer maxFieldsPerIndex)
      Set the maxFieldsPerIndex property: The maximum allowed fields per index.
      Parameters:
      maxFieldsPerIndex - the maxFieldsPerIndex value to set.
      Returns:
      the SearchServiceLimits object itself.
    • 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.
    • 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:
      maxFieldNestingDepthPerIndex - the maxFieldNestingDepthPerIndex value to set.
      Returns:
      the SearchServiceLimits object itself.
    • 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.
    • 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

      public Integer 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.