Creates a sort by terms in the given field where the type of term value is determined dynamically ({@link #AUTO AUTO}).

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

Syntax

C#
[ObsoleteAttribute("Please specify the exact type instead.")]
public SortField(
	string field
)
Visual Basic
<ObsoleteAttribute("Please specify the exact type instead.")> _
Public Sub New ( _
	field As String _
)
Visual C++
[ObsoleteAttribute(L"Please specify the exact type instead.")]
public:
SortField(
	String^ field
)

Parameters

field
Type: System..::..String
Name of field to sort by, cannot be
CopyC#
null
.

See Also