[
https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi updated SOLR-264:
--------------------------------
Attachment: SOLR-264-RandomSortField-2.patch
> public SortComparatorSource getFactory() {
> :
> return new SortComparatorSource() {
> :
> public boolean equals(Object o) {
> return (o instanceof RandomSort) && getField().equals(((RandomSort)
> o).getField());
> }
> };
>}
The equals() method should care of SortComparatorSource, instead of
RandomSort...?
> 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, RandomSortField.java,
> SOLR-264-RandomSortField-2.patch, 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.