This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
Random Sort Clause¶
The Random
Sort Clause
orders search results randomly.
Arguments¶
seed
(optional) - int representing the random seedsortDirection
(optional) - Query or LocationQuery constant, eitherQuery::SORT_ASC
orQuery::SORT_DESC
.
Limitations¶
The Random
Sort Clause is not available in Elastic search engine or Repository filtering.
Example¶
1 2 |
|