Re: Riak Search Solr API rows and sort interaction

2011-10-25 Thread Elias Levy
Thanks to the issue you pointed me to, I found out that Riak search implements a presort option that is not documented that allows me to sort by key. As the my key is timestamp based, it allows me to sort by time. Alas, it does not allow you to select the direction for sorting (only ascending for

Re: Riak Search Solr API rows and sort interaction

2011-10-25 Thread Elias Levy
Rusty, Thanks for the reply. Glad to hear its documented. BTW, I am attempting to sort on an inline field, so that partial solution would at least be useful to me. But for the time being we'll go with a MR job. Cheers, On Tue, Oct 25, 2011 at 9:24 AM, Rusty Klophaus wrote: > Hi Elias, > > Y

Re: Riak Search Solr API rows and sort interaction

2011-10-25 Thread Rusty Klophaus
Hi Elias, Yes, you've encountered a known bug, tracked here: https://issues.basho.com/show_bug.cgi?id=867 MapReduce is one way to solve this issue. Another approach, depending on how frequently the query changes, would be to read and cache the result set somewhere, and then paginate from there.