Hi Evgeni,

You can specify "desc" after your field in the URL to sort in descending
order. (Or "asc" if you want to explicitly request an ascending sort.)

For example:

"http://hostname:8098/solr/bucket?q=query&sort=change_date desc"

Remember to URL encode the space.

Best,
Rusty

On Wed, Apr 27, 2011 at 7:07 AM, e <bezme...@gmail.com> wrote:

>  Hi,
> I have used this one in search request( *sort=FIELDNAME* – Sort on the
> specified field name. Default is “none”, which causes the results to be
> sorted in descending order by score.) Assume the fieldname is a change_date.
> I got the result and sorted by change_date ASC.
> Howto DESC the resultSet?
>
> Regards Evgeni
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to