in fact, me need solution random sorting in case. tried sort collections
solrdocumentlist randsolrdocs = collections.shuffle(solrdoclist) but received error type mismatch: cannot convert void solrdocumentlist.
please, that.
collections.shuffle(solrdoclist) shuffles list pass parameter. method has no return value.
so after call, solrdoclist randomized.
Comments
Post a Comment