sort random
This block is part of the query group and was last modified in core v10.4.28.
Connection Type
This block connects from a query type block. Make sure to connect this block to the appropriate left-hand side connection.
sort random v10.4.28 Sort the results randomly. This sorting only works if at least one positive query (e.g. must, filter, should) is used.
Out pins 1
- query
query
Emits the control fragment {"sort_random": true}, which the search layer turns into a random ordering of the results (fresh shuffle per search). Takes no inputs; the fragment is hoisted to the top level of the query when collected by a bool block.
A typical wiring for sort random: the query out pin feeds cast to object.
Version history
Introduced in v10.4.28.
Back to
query Return to the main group to view all sub-groups Back to query: misc. Return to the group to view all blocks within this group 