Calculate the final score as the average score of all payloads seen.

Is thread safe and completely reusable.

Namespace: Lucene.Net.Search.Payloads
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public class AveragePayloadFunction : PayloadFunction
Visual Basic
<SerializableAttribute> _
Public Class AveragePayloadFunction _
	Inherits PayloadFunction
Visual C++
[SerializableAttribute]
public ref class AveragePayloadFunction : public PayloadFunction

Inheritance Hierarchy

System..::..Object
  Lucene.Net.Search.Payloads..::..PayloadFunction
    Lucene.Net.Search.Payloads..::..AveragePayloadFunction

See Also