Class PrioritizedFields
Describes the title, content, and keywords fields to be used for semantic ranking, captions, highlights, and answers.
Inheritance
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class PrioritizedFields
Constructors
PrioritizedFields()
Initializes a new instance of PrioritizedFields.
Declaration
public PrioritizedFields ();
Properties
ContentFields
Defines the content fields to be used for semantic ranking, captions, highlights, and answers.
For the best result, the selected fields should contain text in natural language form. The order of the fields in the array represents their priority. Fields with lower priority may get truncated if the content is long.
Declaration
public System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.SemanticField> ContentFields { get; }
Property Value
System.Collections.Generic.IList<SemanticField>
|
KeywordFields
Defines the keyword fields to be used for semantic ranking, captions, highlights, and answers.
For the best result, the selected fields should contain a list of keywords. The order of the fields in the array represents their priority. Fields with lower priority may get truncated if the content is long.
Declaration
public System.Collections.Generic.IList<Azure.Search.Documents.Indexes.Models.SemanticField> KeywordFields { get; }
Property Value
System.Collections.Generic.IList<SemanticField>
|
TitleField
Defines the title field to be used for semantic ranking, captions, highlights, and answers. If you don't have a title field in your index, leave this blank.
Declaration
public Azure.Search.Documents.Indexes.Models.SemanticField TitleField { get; set; }
Property Value
SemanticField
|