Close
dtSearch Text Retrieval Engine Programmer's Reference
SortFlags Enumeration

Flags to control the sorting of search results.

File: dtsearch.h

Syntax
C++
enum SortFlags { dtsSortAscending = 2, dtsSortDescending = 0, dtsSortByName = 4, dtsSortByDate = 8, dtsSortByHits = 0x0010, dtsSortBySize = 0x0020, dtsSortByField = 0x0040, dtsSortByUserField = 0x0040, dtsSortByIndex = 0x0080, dtsSortByType = 0x0100, dtsSortByTitle = 0x0200, dtsSortByLocation = 0x0400, dtsSortByTime = 0x0800, dtsSortBySortKey = 0x1000, dtsSortCaseInsensitive = 0x010000, dtsSortNumeric = 0x020000, dtsSortPdfUseTitleAsName = 0x040000, dtsSortHtmlUseTitleAsName = 0x080000, dtsSortFloatNumeric = 0x100000, dtsSortCleanText = 0x200000, dtsSortByHitCount = 0x400000, dtsSortByRelevanceScore = 0x800000, dtsSortByFullName = 0x1000000, dtsSortByWord = 0x2000000, dtsSortByDocCount = 0x4000000 };