Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SearchIndex.Similarity Property

Definition

Namespace:
Azure.Search.Documents.Indexes.Models
Assembly:
Azure.Search.Documents.dll
Package:
Azure.Search.Documents v12.0.0
Package:
Azure.Search.Documents v12.1.0-beta.1
Source:
SearchIndex.cs
Source:
SearchIndex.cs

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.

The type of similarity algorithm to be used when scoring and ranking the documents matching a search query. The similarity algorithm can only be defined at index creation time and cannot be modified on existing indexes. If null, the ClassicSimilarity algorithm is used.

public Azure.Search.Documents.Indexes.Models.SimilarityAlgorithm Similarity { get; set; }
member this.Similarity : Azure.Search.Documents.Indexes.Models.SimilarityAlgorithm with get, set
Public Property Similarity As SimilarityAlgorithm

Property Value

Applies to


Feedback

Was this page helpful?