SearchModelFactory.SearchIndexKnowledgeSourceParameters 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.
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);
static member SearchIndexKnowledgeSourceParameters : string * seq<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> * seq<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> * string -> 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) 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.
Returns
A new SearchIndexKnowledgeSourceParameters instance for mocking.