Class SemanticConfiguration
Defines a specific configuration to be used in the context of semantic capabilities.
Inheritance
System.Object
SemanticConfiguration
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class SemanticConfiguration
Constructors
SemanticConfiguration(String, PrioritizedFields)
Initializes a new instance of SemanticConfiguration.
Declaration
public SemanticConfiguration (string name, Azure.Search.Documents.Indexes.Models.PrioritizedFields prioritizedFields);
Parameters
System.String
name
The name of the semantic configuration. |
PrioritizedFields
prioritizedFields
Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers. At least one of the three sub properties (titleField, prioritizedKeywordsFields and prioritizedContentFields) need to be set. |
Exceptions
System.ArgumentNullException
|
Properties
Name
The name of the semantic configuration.
Declaration
public string Name { get; set; }
Property Value
System.String
|
PrioritizedFields
Describes the title, content, and keyword fields to be used for semantic ranking, captions, highlights, and answers. At least one of the three sub properties (titleField, prioritizedKeywordsFields and prioritizedContentFields) need to be set.
Declaration
public Azure.Search.Documents.Indexes.Models.PrioritizedFields PrioritizedFields { get; set; }
Property Value
PrioritizedFields
|