Sort fields

From OpenSearchServer Wiki
Jump to: navigation, search

Sorted Fields.png


A straightforward function allowing to sort fields in either direction before they are displayed.


Select the field(s) and select the direction for each field.


The order of the fields in the interface does correspond to the order in which the successive sortings will be done by the OSS engine. For instance, assume that we are sorting the cookies database used in the previous examples. If the first field to be sorted is "size" (desc.), the results will be arranged in Small -> Medium -> Large order, since this is the descending alphabetical order, as the primary key. If the second field to be sorted is "flavour" (asc.), all results within a given size will be arranged in an order such as Chocolate -> Coffee -> Pecan, since this is the ascending alphabetical order, as the secondary key.

Personal tools
Get OSS Open Search Server at SourceForge.net. Fast, secure and Free Open Source software downloads