Secondary index maintenance

Theo Bot theo.bot at proxy.nl
Wed Feb 20 09:35:25 EST 2013


Hi

It's not that I want to use the erlang client. It's just that I want to
know to to create http queries to maintain the secondary indexes.

Theo


On Wed, Feb 20, 2013 at 3:30 PM, Christian Dahlqvist <christian at basho.com>wrote:

> Hi Theo,
>
> The Riak HTTP client for Erlang uses the 'riakc_obj' from the PB client to
> represent records. You can therefore use any utility functions available
> there to manipulate metadata. The HTTP client for Erlang does however
> currently not support secondary indexes [1], meaning that these will not be
> parsed nor sent when getting or putting an object.
>
> [1] http://docs.basho.com/riak/1.3.0rc4/references/Client-Libraries/#HTTP
>
> Best regards,
>
> Christian
>
>
> On 20 Feb 2013, at 08:41, 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
>
>
>


-- 
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/916d8ed2/attachment.html>


More information about the riak-users mailing list