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
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
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.