Method Coord
Coord(Int32, Int32)
Computes a score factor based on the fraction of all query terms that a document contains. this value is multiplied into scores.
The presence of a large portion of the query terms indicates a better match with the query, so implementations of this method usually return larger values when the ratio between these parameters is large and smaller values when the ratio between them is small.
Declaration
public abstract override float Coord(int overlap, int maxOverlap)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | overlap | The number of query terms matched in the document |
System.Int32 | maxOverlap | The total number of terms in the query |
Returns
Type | Description |
---|---|
System.Single | A score factor based on term overlap with the query |