SearchModelFactory.SearchIndexKnowledgeSourceQueryHints 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.
Hints that guide query planning toward useful filters and boosts for a search index knowledge source.
public static Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceQueryHints SearchIndexKnowledgeSourceQueryHints(System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceFilterHint> filters = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceBoost> boosts = default);
static member SearchIndexKnowledgeSourceQueryHints : seq<Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceFilterHint> * seq<Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceBoost> -> Azure.Search.Documents.Indexes.Models.SearchIndexKnowledgeSourceQueryHints
Public Shared Function SearchIndexKnowledgeSourceQueryHints (Optional filters As IEnumerable(Of SearchIndexKnowledgeSourceFilterHint) = Nothing, Optional boosts As IEnumerable(Of SearchIndexKnowledgeSourceBoost) = Nothing) As SearchIndexKnowledgeSourceQueryHints
Parameters
Filter hints that identify fields and representative values the query planner can use when constructing filters.
Boost hints that identify conditions the query planner can use to influence document ranking.
Returns
A new SearchIndexKnowledgeSourceQueryHints instance for mocking.