Apache Lucene.Net 2.1 Class Library API

ScoreDocComparator.SortType Method 

Returns the type of sort. Should return

SortField.SCORE
,
SortField.DOC
,
SortField.STRING
,
SortField.INTEGER
,
SortField.FLOAT
or
SortField.CUSTOM
. It is not valid to return
SortField.AUTO
. This is used by multisearchers to determine how to collate results from their searchers.

int SortType();

Return Value

One of the constants in SortField.

See Also

ScoreDocComparator Interface | Lucene.Net.Search Namespace |