SemanticPrioritizedFields Class
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.
Describes the title, content, and keywords fields to be used for semantic ranking, captions, highlights, and answers.
public class SemanticPrioritizedFields
public class SemanticPrioritizedFields : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SemanticPrioritizedFields>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SemanticPrioritizedFields>
type SemanticPrioritizedFields = class
type SemanticPrioritizedFields = class
interface IJsonModel<SemanticPrioritizedFields>
interface IPersistableModel<SemanticPrioritizedFields>
Public Class SemanticPrioritizedFields
Public Class SemanticPrioritizedFields
Implements IJsonModel(Of SemanticPrioritizedFields), IPersistableModel(Of SemanticPrioritizedFields)
- Inheritance
-
SemanticPrioritizedFields
- Implements
Constructors
SemanticPrioritizedFields() |
Initializes a new instance of SemanticPrioritizedFields. |
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. |
KeywordsFields |
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. |
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. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<SemanticPrioritizedFields>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SemanticPrioritizedFields>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SemanticPrioritizedFields>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SemanticPrioritizedFields>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SemanticPrioritizedFields>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |