Class MinPayloadFunction
Calculates the minimum payload seen
Inheritance
System.Object
MinPayloadFunction
Assembly: Lucene.Net.dll
Syntax
public class MinPayloadFunction : PayloadFunction
Methods
|
Improve this Doc
View Source
CurrentScore(Int32, String, Int32, Int32, Int32, Single, Single)
Declaration
public override float CurrentScore(int docId, string field, int start, int end, int numPayloadsSeen, float currentScore, float currentPayloadScore)
Parameters
Type |
Name |
Description |
System.Int32 |
docId |
|
System.String |
field |
|
System.Int32 |
start |
|
System.Int32 |
end |
|
System.Int32 |
numPayloadsSeen |
|
System.Single |
currentScore |
|
System.Single |
currentPayloadScore |
|
Returns
Type |
Description |
System.Single |
|
Overrides
|
Improve this Doc
View Source
DocScore(Int32, String, Int32, Single)
Declaration
public override float DocScore(int docId, string field, int numPayloadsSeen, float payloadScore)
Parameters
Type |
Name |
Description |
System.Int32 |
docId |
|
System.String |
field |
|
System.Int32 |
numPayloadsSeen |
|
System.Single |
payloadScore |
|
Returns
Type |
Description |
System.Single |
|
Overrides
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides