VectorSearch Class

Definition

Contains configuration options related to vector search.

public class VectorSearch : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.VectorSearch>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.VectorSearch>
type VectorSearch = class
    interface IJsonModel<VectorSearch>
    interface IPersistableModel<VectorSearch>
Public Class VectorSearch
Implements IJsonModel(Of VectorSearch), IPersistableModel(Of VectorSearch)
Inheritance
VectorSearch
Implements

Constructors

Name Description
VectorSearch()

Initializes a new instance of VectorSearch.

Properties

Name Description
Algorithms

Contains configuration options specific to the algorithm used during indexing or querying.

Compressions

Contains configuration options specific to the compression method used during indexing or querying.

Profiles

Defines combinations of configurations to use with vector search.

Vectorizers

Contains configuration options on how to vectorize text vector queries.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VectorSearch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VectorSearch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VectorSearch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VectorSearch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VectorSearch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to