This is a cache of https://fess.codelibs.org/14.17/user/search-sort.html. It is a snapshot of the page at 2024-11-21T00:19:35.365+0000.
Sort

Menu

Sort

Sort

To select sort field in Search Options dialog, the search results are sorted by the field.

Sort field

The following sort fields are available.

Field name Description
created Time to crawl document
content_length Size of document
last_modified Last modified time of document
filename File name
score Score value
timestamp Indexed time
click_count The number of clicked documents
favorite_count The number of liked documents

Table: Sort fields

Usage

To click Options button, Sort fields are selectable on Search Options dialog.

image0

In addition to selecting sort field on the dialog, sort prefix operator is available in query syntax. The format is colon-separated query, such as sort:fieldname.

To sort search results which contains fess by content size, the query is below.

fess sort:content_length

To sort in descending order as below.

fess sort:content_length.desc

If you want to sort by multiple sort fields, it’s below.

fess sort:content_length.desc,last_modified