ภาษา

SearchModelFactory.GraphProfile Method

Definition

Describes the edge-list graph stored in a search index. Required role mappings are validated against field types and capabilities before execution.

public static Azure.Search.Documents.Indexes.Models.GraphProfile GraphProfile(Azure.Search.Documents.Indexes.Models.GraphProfileKind kind = default, Azure.Search.Documents.Indexes.Models.GraphFieldMappings fields = default, string provenanceIndexName = default);
static member GraphProfile : Azure.Search.Documents.Indexes.Models.GraphProfileKind * Azure.Search.Documents.Indexes.Models.GraphFieldMappings * string -> Azure.Search.Documents.Indexes.Models.GraphProfile
Public Shared Function GraphProfile (Optional kind As GraphProfileKind = Nothing, Optional fields As GraphFieldMappings = Nothing, Optional provenanceIndexName As String = Nothing) As GraphProfile

Parameters

kind
GraphProfileKind

Storage representation used by the graph index.

fields
GraphFieldMappings

Logical graph roles mapped to physical, primitive, single-valued fields. All mapped fields must be retrievable, and mapped string fields must not use a normalizer.

provenanceIndexName
String

Name of the source index from which graph provenance documents may be hydrated. Configured by the index administrator, not by query callers.

Returns

A new GraphProfile instance for mocking.

Applies to