Sorts possibly in reverse by the terms in
CopyC#
field
then by index order (document number). The type of value in
CopyC#
field
is determined automatically.

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

Syntax

C#
[ObsoleteAttribute("Please specify the type explicitly by first creating a SortField and then use Sort(SortField)")]
public Sort(
	string field,
	bool reverse
)
Visual Basic
<ObsoleteAttribute("Please specify the type explicitly by first creating a SortField and then use Sort(SortField)")> _
Public Sub New ( _
	field As String, _
	reverse As Boolean _
)
Visual C++
[ObsoleteAttribute(L"Please specify the type explicitly by first creating a SortField and then use Sort(SortField)")]
public:
Sort(
	String^ field, 
	bool reverse
)

Parameters

field
Type: System..::..String

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

reverse
Type: System..::..Boolean

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

See Also