Sets the sort to the terms in each field in succession.

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 SortFields and then use SetSort(SortField[])")]
public virtual void SetSort(
	string[] fieldnames
)
Visual Basic
<ObsoleteAttribute("Please specify the type explicitly by first creating a SortFields and then use SetSort(SortField[])")> _
Public Overridable Sub SetSort ( _
	fieldnames As String() _
)
Visual C++
[ObsoleteAttribute(L"Please specify the type explicitly by first creating a SortFields and then use SetSort(SortField[])")]
public:
virtual void SetSort(
	array<String^>^ fieldnames
)

Parameters

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

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

See Also