SearchModelFactory.KnowledgeStore Method

Definition

Definition of additional projections to azure blob, table, or files, of enriched data.

public static Azure.Search.Documents.Indexes.Models.KnowledgeStore KnowledgeStore(string storageConnectionString = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.KnowledgeStoreProjection> projections = default, Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity identity = default);
static member KnowledgeStore : string * seq<Azure.Search.Documents.Indexes.Models.KnowledgeStoreProjection> * Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity -> Azure.Search.Documents.Indexes.Models.KnowledgeStore
Public Shared Function KnowledgeStore (Optional storageConnectionString As String = Nothing, Optional projections As IEnumerable(Of KnowledgeStoreProjection) = Nothing, Optional identity As SearchIndexerDataIdentity = Nothing) As KnowledgeStore

Parameters

storageConnectionString
String

The connection string to the storage account projections will be stored in.

projections
IEnumerable<KnowledgeStoreProjection>

A list of additional projections to perform during indexing.

identity
SearchIndexerDataIdentity

The user-assigned managed identity used for connections to Azure Storage when writing knowledge store projections. If the connection string indicates an identity (ResourceId) and it's not specified, the system-assigned managed identity is used. On updates to the indexer, if the identity is unspecified, the value remains unchanged. If set to "none", the value of this property is cleared.

Returns

A new KnowledgeStore instance for mocking.

Applies to