Creates a sort, possibly in reverse, by terms in the given field sorted according to the given locale.

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

Syntax

C#
public SortField(
	string field,
	CultureInfo locale,
	bool reverse
)
Visual Basic
Public Sub New ( _
	field As String, _
	locale As CultureInfo, _
	reverse As Boolean _
)
Visual C++
public:
SortField(
	String^ field, 
	CultureInfo^ locale, 
	bool reverse
)

Parameters

field
Type: System..::..String
Name of field to sort by, cannot be
CopyC#
null
.
locale
Type: System.Globalization..::..CultureInfo
Locale of values in the field.
reverse
Type: System..::..Boolean

[Missing <param name="reverse"/> documentation for "M:Lucene.Net.Search.SortField.#ctor(System.String,System.Globalization.CultureInfo,System.Boolean)"]

See Also