Secondary index maintenance

Theo Bot theo.bot at proxy.nl
Wed Feb 20 09:28:00 EST 2013


Hi,

I found this. https://github.com/basho/riak-erlang-client

I'm working on the perl Net::Riak client. Yesterday a new version was
released with ssl support on the http client.
So I wish to add the secondary index support to the same http client.

Theo



On Wed, Feb 20, 2013 at 3:21 PM, Jon Meredith <jmeredith at basho.com> wrote:

> To expand on that answer a little. The two functions you mention just work
> on the client side riak object you've retrieved over the PB API.   You
> still have to store the updated object.  There aren't specific calls over
> the PB interface to adjust 2I metadata.
>
> Which http API are you referring to?
>
> Jon
>
> Sent from my iPad
>
> On Feb 20, 2013, at 7:13 AM, Richard Shaw <richard at basho.com> wrote:
>
> Hi Theo,
>
> You're correct, the HTTP API does not have the same feature set and we
> recommend using any one of the protocol buffer based clients[0] over the
> HTTP API for performance and features.
>
> [0]http://docs.basho.com/riak/latest/references/Client-Libraries/
>
> Kind Regards
>
> Richard
>
>
> On Wed, Feb 20, 2013 at 8:41 AM, Theo Bot <thg.bot at gmail.com> wrote:
>
>> Hi
>>
>> I found in the erlang client that there are methods (clear_secondary_indexes,
>> delete_secondary_index) in the pb api to maintain the secondary index of
>> objects. However in the http api I cannot find such methods.
>>
>> --
>> Kind regards
>>
>> Theo Bot
>> Network Management Engineer
>> e-mail: theo.bot at proxy.nl
>> Website: http://www.proxy.nl
>> LinkedIn: http://www.linkedin.com/in/theobot
>>
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>


-- 
Met vriendelijke groet,

Theo Bot
Network Management Engineer
Tel: +31653965698
e-mail: theo.bot at proxy.nl
Website: http://www.proxy.nl
LinkedIn: http://www.linkedin.com/in/theobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130220/fa534ff0/attachment.html>


More information about the riak-users mailing list