Calculate the final score for all the payloads seen so far for this doc/field
Namespace: Lucene.Net.Search.PayloadsAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public abstract float DocScore( int docId, string field, int numPayloadsSeen, float payloadScore ) |
| Visual Basic |
|---|
Public MustOverride Function DocScore ( _ docId As Integer, _ field As String, _ numPayloadsSeen As Integer, _ payloadScore As Single _ ) As Single |
| Visual C++ |
|---|
public: virtual float DocScore( int docId, String^ field, int numPayloadsSeen, float payloadScore ) abstract |
Parameters
- docId
- Type: System..::..Int32
The current doc
- field
- Type: System..::..String
The current field
- numPayloadsSeen
- Type: System..::..Int32
The total number of payloads seen on this document
- payloadScore
- Type: System..::..Single
The raw score for those payloads