Apache Lucene.Net 2.4.0 Class Library API

SortField Constructor (String, Int32)

Creates a sort by terms in the given field with the type of term values explicitly given.

public SortField(
   string field,
   int type
);

Parameters

field
Name of field to sort by. Can be
null
if
type
is SCORE or DOC.
type
Type of values in the terms.

See Also

SortField Class | Lucene.Net.Search Namespace | SortField Constructor Overload List