lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Commented: (SOLR-264) Support 'random' sort order
Date Wed, 20 Jun 2007 01:10:26 GMT


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:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments:,,,, 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.

View raw message