[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506352 ]
Yonik Seeley commented on SOLR-264: ----------------------------------- > i guess it's okay because the overflow is the same regardless of whether it's > i or j, but in the previous case the overflow happend *after*the hash call Yep, no bits of randomness are lost, so having an intermediate value over/underflow is fine. Including the reader version is an interesting idea, and would probably lead to less confusion (a user might otherwise be tricked into thinking that docs always sort the same relative to each other across a commit). > Support 'random' sort order > --------------------------- > > Key: SOLR-264 > URL: https://issues.apache.org/jira/browse/SOLR-264 > Project: Solr > Issue Type: New Feature > Reporter: Ryan McKinley > Priority: Minor > Attachments: RandomSortField.java, RandomSortField.java, > RandomSortField.java, RandomSortField.java, SOLR-264-RandomSortOrder.patch, > SOLR-264-RandomSortOrder.patch, SOLR-264-RandomSortOrder.patch > > > Support querying for random documents: > http://localhost:8983/solr/select/?q=*:*&fl=sku&sort=random%20desc -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.