SemanticSearch 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.
Defines parameters for a search index that influence semantic capabilities.
public class SemanticSearch
public class SemanticSearch : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SemanticSearch>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SemanticSearch>
type SemanticSearch = class
type SemanticSearch = class
interface IJsonModel<SemanticSearch>
interface IPersistableModel<SemanticSearch>
Public Class SemanticSearch
Public Class SemanticSearch
Implements IJsonModel(Of SemanticSearch), IPersistableModel(Of SemanticSearch)
- Inheritance
-
SemanticSearch
- Implements
Constructors
SemanticSearch() |
Initializes a new instance of SemanticSearch. |
Properties
Configurations |
The semantic configurations for the index. |
DefaultConfigurationName |
Allows you to set the name of a default semantic configuration in your index, making it optional to pass it on as a query parameter every time. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<SemanticSearch>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SemanticSearch>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SemanticSearch>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SemanticSearch>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SemanticSearch>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |