1👍
✅
See this. After adding these to your schema.xml:
<types>
...
<fieldType name="random" class="solr.RandomSortField" />
...
</types>
<fields>
...
<dynamicField name="random*" type="random" indexed="true" stored="false"/>
...
</fields>
you can do:
sort=fieldN asc,random_XYZ asc
Keep changing XYZ
for different ordering within each group of fieldN
.
👤arun
Source:stackexchange.com