indexing problem

Rusty Klophaus rusty at
Fri Feb 25 09:01:25 EST 2011

Hi Wilson,

The basic idea is that you set a flag on a bucket that enables indexing, and
then when you store any objects in that bucket, they get indexed. If you
stick to certain content types, Riak Search is smart enough to break apart
the object that you store. You can read more here:

To search on that bucket, you can use either the Erlang HTTP client ( or the Erlang Protocol
Buffers client ( Both of those
clients have a "search" function where you pass in the bucket and query.

Finally, you can read more about query syntax here:


On Fri, Feb 25, 2011 at 8:44 AM, wilson Tuladhar <mailwilson007 at>wrote:

> Hi,
> Can anyone tell me how one can index the data into riak using an Erlang
> Client??
> I want to do something like this
> search:index_doc(<<"my_index">>, <<"my_doc">>, [{<<"title">>, <<"The
> Title">>}, {<<"content">>, <<"The Content">>}])
> but this will only work on the server node and i want to index through the
> client node using Erlang Client.
> /Wilson
> _______________________________________________
> riak-users mailing list
> riak-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the riak-users mailing list