Class BM25Similarity
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class BM25Similarity : IBM25Similarity, ISimilarity
Properties
| Edit this page View SourceB
Controls to what degree document length normalizes tf values.
Declaration
public double? B { get; set; }
Property Value
Type | Description |
---|---|
double? |
DiscountOverlaps
Sets whether overlap tokens (Tokens with 0 position increment) are ignored when computing norm.
Declaration
public bool? DiscountOverlaps { get; set; }
Property Value
Type | Description |
---|---|
bool? |
K1
Controls non-linear term frequency normalization (saturation).
Declaration
public double? K1 { get; set; }
Property Value
Type | Description |
---|---|
double? |
Type
The type of similarity.
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
string |