Method DocScore
DocScore(Int32, String, Int32, Single)
Calculate the final score for all the payloads seen so far for this doc/field
Declaration
public abstract float DocScore(int docId, string field, int numPayloadsSeen, float payloadScore)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docId | The current doc |
System.String | field | The current field |
System.Int32 | numPayloadsSeen | The total number of payloads seen on this document |
System.Single | payloadScore | The raw score for those payloads |
Returns
Type | Description |
---|---|
System.Single | The final score for the payloads |