SearchModelFactory.KnowledgeBaseSearchIndexActivityArguments 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.
Represents the arguments the search index retrieval activity was run with.
public static Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseSearchIndexActivityArguments KnowledgeBaseSearchIndexActivityArguments(string search = default, string filter = 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, Azure.Search.Documents.Models.SearchQueryType? queryType = default);
static member KnowledgeBaseSearchIndexActivityArguments : string * string * seq<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> * seq<Azure.Search.Documents.Indexes.Models.SearchIndexFieldReference> * string * Nullable<Azure.Search.Documents.Models.SearchQueryType> -> Azure.Search.Documents.KnowledgeBases.Models.KnowledgeBaseSearchIndexActivityArguments
Public Shared Function KnowledgeBaseSearchIndexActivityArguments (Optional search As String = Nothing, Optional filter As String = Nothing, Optional sourceDataFields As IEnumerable(Of SearchIndexFieldReference) = Nothing, Optional searchFields As IEnumerable(Of SearchIndexFieldReference) = Nothing, Optional semanticConfigurationName As String = Nothing, Optional queryType As Nullable(Of SearchQueryType) = Nothing) As KnowledgeBaseSearchIndexActivityArguments
Parameters
- search
- String
The search string used to query the search index.
- filter
- String
The filter string.
- sourceDataFields
- IEnumerable<SearchIndexFieldReference>
What fields were selected for search.
- searchFields
- IEnumerable<SearchIndexFieldReference>
What fields were searched against.
- semanticConfigurationName
- String
What semantic configuration was used from the search index.
- queryType
- Nullable<SearchQueryType>
The query syntax used to execute the search. Query hints can cause semantic queries to use full query syntax.
Returns
A new KnowledgeBaseSearchIndexActivityArguments instance for mocking.