[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505860 ]
Yonik Seeley commented on SOLR-264: ----------------------------------- Rather than mess with query parsing to hack in support for a "random" key word, a more elegant way would be to create a RandomFieldType specifically for sorting, then hook it in via the schema in the normal manner. Since this is such a unique requirement (probably not broadly applicable), one might want to make this as a custom component in a QueryComponent chain that we discussed recently. http://www.nabble.com/search-components-%28plugins%29-tf3898040.html#a11050274 > 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: 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.