Flags to control the sorting of search results.
File
File: SortFlags.java
Package: com.dtsearch.engine
Syntax
Fields
Field |
Description |
---|---|
Sort in ascending order. | |
Sort by modified date. | |
In WordListBuilder only, sort by document count. | |
Sort by user-defined field. | |
Sort by path and filename. | |
Sort by number of hits. | |
Sort by hit count or relevance, depending on search type. Deprecated: Use dtsSortByHitCount or dtsSortByRelevanceScore instead. | |
Sort by index retrieved from. | |
Sort by the path of the file. | |
Sort by filename. | |
Sort by relevance score. | |
Sort by file size. | |
Sort by caller-specified sort key (use setSortKey for each item to specify the key). | |
Sort by modification time, ignoring the date. | |
Sort by file title. | |
Sort by file type. | |
Sort by user-defined field (deprecated, use dtsSortByField). | |
In WordListBuilder only, sort by word. | |
Make string comparisons in the sort case-insensitive. | |
Remove some leading punctuation or white space from sort value before sorting. Also removes "re:", "fw:", and "fwd:". | |
Sort in descending order. | |
Sort by the floating point numeric value of a field instead of its string value. | |
When sorting by filename, use the HTML Title as the filename for HTML files. | |
Interpret sort values as numbers instead of text. This would cause "20" to be considered greater than "9". The sort key will be a signed, 32-bit integer. | |
When sorting by filename, use the PDF Title as the filename for PDF files. |
Class Hierarchy
com.dtsearch.engine.SortFlags