Returns the average of all values or
CopyC#
Float.NaN
if this DocValues instance does not contain any value. *

This operation is optional

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

Syntax

C#
public virtual float GetAverageValue()
Visual Basic
Public Overridable Function GetAverageValue As Single
Visual C++
public:
virtual float GetAverageValue()

Return Value

the average of all values or
CopyC#
Float.NaN
if this DocValues instance does not contain any value

See Also