@ Override public void _randomOrdering ( String seed ) { assertNoRawQuery ( ) ; if ( StringUtils . isBlank ( seed ) ) { _randomOrdering ( ) ; return ; } _noCaching ( ) ; orderByTokens . add ( OrderByToken . createRandom ( seed ) ) ; }
Order the search results randomly using the specified seed this is useful if you want to have repeatable random queries