次の方法で共有


ClassicSimilarity Class

Definition

Legacy similarity algorithm which uses the Lucene TFIDFSimilarity implementation of TF-IDF. This variation of TF-IDF introduces static document length normalization as well as coordinating factors that penalize documents that only partially match the searched queries.

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

Constructors

ClassicSimilarity()

Initializes a new instance of ClassicSimilarity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ClassicSimilarity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ClassicSimilarity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<SimilarityAlgorithm>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from SimilarityAlgorithm)
IJsonModel<SimilarityAlgorithm>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from SimilarityAlgorithm)
IPersistableModel<ClassicSimilarity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ClassicSimilarity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ClassicSimilarity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<SimilarityAlgorithm>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from SimilarityAlgorithm)
IPersistableModel<SimilarityAlgorithm>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from SimilarityAlgorithm)
IPersistableModel<SimilarityAlgorithm>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from SimilarityAlgorithm)

Applies to