Sets the sort to the terms in
CopyC# then by index order
(document number).
Namespace: Lucene.Net.Searchfield
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 SetSort(SortField)")] public void SetSort( string field ) |
| Visual Basic |
|---|
<ObsoleteAttribute("Please specify the type explicitly by first creating a SortField and then use SetSort(SortField)")> _ Public Sub SetSort ( _ field As String _ ) |
| Visual C++ |
|---|
[ObsoleteAttribute(L"Please specify the type explicitly by first creating a SortField and then use SetSort(SortField)")] public: void SetSort( String^ field ) |
Parameters
- field
- Type: System..::..String
[Missing <param name="field"/> documentation for "M:Lucene.Net.Search.Sort.SetSort(System.String)"]