Returns the maximum 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 GetMaxValue()
Visual Basic
Public Overridable Function GetMaxValue As Single
Visual C++
public:
virtual float GetMaxValue()

Return Value

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

See Also