ภาษา

SearchModelFactory.SearchIndexKnowledgeSourceParameters Method

Definition

Parameters for search index knowledge source.

public static Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceParameters SearchIndexKnowledgeSourceParameters(string searchIndexName = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> sourceDataFields = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> searchFields = default, string semanticConfigurationName = default, string baseFilter = default, Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceQueryHints queryHints = default, Azure.Search.Documents.Models.VectorQueryTopicGraph topicGraph = default);
static member SearchIndexKnowledgeSourceParameters : string * seq<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> * seq<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> * string * string * Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceQueryHints * Azure.Search.Documents.Models.VectorQueryTopicGraph -> Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceParameters
Public Shared Function SearchIndexKnowledgeSourceParameters (Optional searchIndexName As String = Nothing, Optional sourceDataFields As IEnumerable(Of SearchIndexFieldReference) = Nothing, Optional searchFields As IEnumerable(Of SearchIndexFieldReference) = Nothing, Optional semanticConfigurationName As String = Nothing, Optional baseFilter As String = Nothing, Optional queryHints As SearchIndexKnowledgeSourceQueryHints = Nothing, Optional topicGraph As VectorQueryTopicGraph = Nothing) As SearchIndexKnowledgeSourceParameters

Parameters

searchIndexName
String

The name of the Search index.

sourceDataFields
IEnumerable<SearchIndexFieldReference>

Used to request additional fields for referenced source data.

searchFields
IEnumerable<SearchIndexFieldReference>

Used to restrict which fields to search on the search index.

semanticConfigurationName
String

Used to specify a different semantic configuration on the target search index other than the default one.

baseFilter
String

A default filter condition applied to the index at retrieval time (e.g., 'State eq VA'). Can be overridden at query time via knowledge source runtime parameters.

queryHints
SearchIndexKnowledgeSourceQueryHints

Default hints that guide query planning toward useful filters and boosts for this search index knowledge source. Request-time query hints replace these defaults as a complete object.

topicGraph
VectorQueryTopicGraph

Default topic graph vector search options for this search index knowledge source.

Returns

A new SearchIndexKnowledgeSourceParameters instance for mocking.

Applies to