Name of the custom sort field, works with SortFields.CustomNumericField or SortFields.CustomStringField option.
Namespace: DotNetNuke.Services.Search.EntitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public string CustomSortField { get; set; } |
Visual Basic |
---|
Public Property CustomSortField As String Get Set |
Remarks
Enum SortFields can be used to sort on Relevance, LastModified and Title. Additional fields such as one provided under
SearchDocument.Keywords, SearchDocument.NumericKeys or Tags can be specified.
can be specified by using CustomSortField property. One needs to ensure that the field name is a valid one.
Examples
authorid or authorname