Enum SortFields
Sorting criteria to be used for Querying.
Namespace: DotNetNuke.Services.Search.Entities
Assembly: DotNetNuke.dll
Syntax
public enum SortFields : int
Fields
Name | Description |
---|---|
CustomNumericField | Specify custom numeric field for sorting. Field name should be specified in SearchQuery.CustomSortField |
CustomStringField | Specify custom string filed for sorting. Field name should be specified in SearchQuery.CustomSortField |
Keyword | Sort by Keywords (as specified in SearchDocument while indexing). The Keywords key-name should be specified in SearchQuery.CustomSortField |
LastModified | Sort by DateTime Modified. Latest come first |
NumericKey | Sort by NumericKey (as specified in SearchDocument while indexing). The NumericKeys key-name should be specified in SearchQuery.CustomSortField |
Relevance | Sort by Relevance [default]. Most relevant come first, SortDirection is ignored. |
Tag | Sort by Tag. |
Title | Sort by Title. |