Returns the value used to sort the given document. The object returned must implement the java.io.Serializable interface. This is used by multisearchers to determine how to collate results from their searchers.

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

Syntax

C#
IComparable SortValue(
	ScoreDoc i
)
Visual Basic
Function SortValue ( _
	i As ScoreDoc _
) As IComparable
Visual C++
IComparable^ SortValue(
	ScoreDoc^ i
)

Parameters

i
Type: Lucene.Net.Search..::..ScoreDoc
Document

Return Value

Serializable object

See Also