Sorts in succession by the terms in each field. 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 SortFields and then use Sort(SortField[])")]
public Sort(
	string[] fields
)
Visual Basic
<ObsoleteAttribute("Please specify the type explicitly by first creating SortFields and then use Sort(SortField[])")> _
Public Sub New ( _
	fields As String() _
)
Visual C++
[ObsoleteAttribute(L"Please specify the type explicitly by first creating SortFields and then use Sort(SortField[])")]
public:
Sort(
	array<String^>^ fields
)

Parameters

fields
Type: array<System..::..String>[]()[][]

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

See Also