Creates a sort 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
)
Visual Basic
Public Sub New ( _
	field As String, _
	locale As CultureInfo _
)
Visual C++
public:
SortField(
	String^ field, 
	CultureInfo^ locale
)

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.

See Also