Sort node configuration, multiple values can be specified in case of tie
(though all values are always evaluated for each search result).
Attributes
- xpath (Text) -
This XPath is evaluated and sorted on.
The resulting type of the XPath will be used to decide if the sort
is numeric or alphabetical (if the resulting type is not a number
it will be cast to a string).
Be aware that this XPath will be evaluated for each search result
(i.e., potentially millions of times). Some (but not all) of the
XPaths operators and functions have been optimized to avoid
manipulating heavy XPath structures. It is recommended to restrict
your formula to these operators for large collections (to avoid
unsuitable response time).
Check the documentation for the current list of optimized
XPath operators and functions.
- order (Any of: ascending, descending default: ascending) -
Sort order