Compartilhar via


SearchModelFactory.SearchServiceLimits Método

Definição

Inicializa uma nova instância de SearchServiceLimits.

public static Azure.Search.Documents.Indexes.Models.SearchServiceLimits SearchServiceLimits (int? maxFieldsPerIndex, int? maxFieldNestingDepthPerIndex, int? maxComplexCollectionFieldsPerIndex, int? maxComplexObjectsInCollectionsPerDocument);
static member SearchServiceLimits : Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.Search.Documents.Indexes.Models.SearchServiceLimits
Public Shared Function SearchServiceLimits (maxFieldsPerIndex As Nullable(Of Integer), maxFieldNestingDepthPerIndex As Nullable(Of Integer), maxComplexCollectionFieldsPerIndex As Nullable(Of Integer), maxComplexObjectsInCollectionsPerDocument As Nullable(Of Integer)) As SearchServiceLimits

Parâmetros

maxFieldsPerIndex
Nullable<Int32>

Os campos máximos permitidos por índice.

maxFieldNestingDepthPerIndex
Nullable<Int32>

A profundidade máxima que você pode aninhar subcampos em um índice, incluindo o campo complexo de nível superior. Por exemplo, a/b/c tem uma profundidade de aninhamento de 3.

maxComplexCollectionFieldsPerIndex
Nullable<Int32>

O número máximo de campos do tipo Collection(Edm.ComplexType) permitidos em um índice.

maxComplexObjectsInCollectionsPerDocument
Nullable<Int32>

O número máximo de objetos em coleções complexas permitidas por documento.

Retornos

Uma nova instância SearchServiceLimits para zombar.

Aplica-se a