SearchModelFactory.KnowledgeSourceCache Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures storage for cached knowledge source enrichment results. Requires a GPv2 storage account with Blob and Table endpoints. The cache storage binding and identity cannot be changed after creation, and the cache cannot be removed while using the graph extraction workflow.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceCache KnowledgeSourceCache(string storageConnectionString = default, bool? enableReprocessing = default, Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity identity = default);
static member KnowledgeSourceCache : string * Nullable<bool> * Azure.Search.Documents.Indexes.Models.SearchIndexerDataIdentity -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeSourceCache
Public Shared Function KnowledgeSourceCache (Optional storageConnectionString As String = Nothing, Optional enableReprocessing As Nullable(Of Boolean) = Nothing, Optional identity As SearchIndexerDataIdentity = Nothing) As KnowledgeSourceCache
Parameters
- storageConnectionString
- String
The connection string to the storage account where cached enrichment results are persisted.
Whether cached enrichment results can be reprocessed when the enrichment configuration changes. Must be true for graph extraction cache replay.
- identity
- SearchIndexerDataIdentity
The managed identity used to connect to the enrichment cache. If omitted for a ResourceId connection string, the system-assigned managed identity is used. The identity cannot be changed after the cache is configured.
Returns
A new KnowledgeSourceCache instance for mocking.