SearchModelFactory.KnowledgeSourceReference 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.
Reference to a knowledge source.
public static Azure.Search.Documents.Indexes.Models.KnowledgeSourceReference KnowledgeSourceReference(string name = default, bool? enableImageServing = default, bool? enableFreshness = default);
static member KnowledgeSourceReference : string * Nullable<bool> * Nullable<bool> -> Azure.Search.Documents.Indexes.Models.KnowledgeSourceReference
Public Shared Function KnowledgeSourceReference (Optional name As String = Nothing, Optional enableImageServing As Nullable(Of Boolean) = Nothing, Optional enableFreshness As Nullable(Of Boolean) = Nothing) As KnowledgeSourceReference
Parameters
- name
- String
The name of the knowledge source.
Indicates whether image serving should be enabled for this knowledge source. When true, images extracted during ingestion are delivered to downstream models at query time.
Indicates whether freshness-aware retrieval should be enabled for this knowledge source. When true, a freshness scoring profile is applied during retrieval to bias results toward newer documents.
Returns
A new KnowledgeSourceReference instance for mocking.