Returns the type of sort. Should return
CopyC#
SortField.SCORE
,
CopyC#
SortField.DOC
,
CopyC#
SortField.STRING
,
CopyC#
SortField.INTEGER
,
CopyC#
SortField.FLOAT
or
CopyC#
SortField.CUSTOM
. It is not valid to return
CopyC#
SortField.AUTO
. 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#
int SortType()
Visual Basic
Function SortType As Integer
Visual C++
int SortType()

Return Value

One of the constants in SortField.

See Also