2i Values

Rusty Klophaus rusty at basho.com
Fri Nov 18 11:43:23 EST 2011


Hi Tim,

No, that's not currently possible.

Just to clarify, when you say you want the "respective value", do you mean
the object's value in Riak (ie: the result of a GET operation) or rather
the index's value (ie: the value associated with the _int index)?

Thanks,
Rusty

On Fri, Nov 18, 2011 at 11:04 AM, Tim Ariyeh <tariyeh at softlayer.com> wrote:

> Is it possible to return a value along with a 2i query?  For instance, if
> I perform a range query against an _int index, can I return both the
> relevant and keys  their respective value for that field?
>
> If not, can they be accessed in a reduce function without loading the
> document?
>
> Thanks,
> Tim
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Rusty Klophaus (@rustyio)
*Basho Technologies, Inc.*
www.basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20111118/6fda7036/attachment.html>


More information about the riak-users mailing list