Thanks Luke.

If I might be allowed a follow-on question, what is the effect of adding an 
index to a 'typed bucket-type'. For example, if I define a bucket_type as 
follows:

./riak-admin bucket-type create map_bucket_type 
'{"props":{"search_index":"my_index","datatype":"map"}}'

Are the members of any maps stored in a bucket which uses this bucket-type 
going to get indexed in Solr? I would assume that some sort of mashalling 
function and a custom schema would be required?

Thanks,

Paul

On 24 Mar 2014, at 15:52, Luke Bakken <[email protected]> wrote:

> Hi Paul,
> 
> You are correct, a new bucket type must be created for Riak 2.0 search 
> indexes.
> 
> --
> Luke Bakken
> CSE
> [email protected]
> 
> 
> On Mon, Mar 24, 2014 at 2:27 AM, Paul Walk <[email protected]> wrote:
> I'm experimenting with the technology preview of Riak 2.0, using an existing 
> Ruby web application which uses the official Ruby client gem (1.4.3).
> 
> My understanding is that if I have not specified particular bucket-types, 
> then my buckets are implicitly using a 'default' bucket type. So, in order to 
> try the all-new search functionality, I have tried to associate the default 
> bucket-type with a search index, thus:
> 
> ./riak-admin bucket-type update default 
> '{"props":{"search_index":"my_index"}}'
> 
> which returns the error:
> 
> Error updating bucket type default: no_default_update
> 
> Does this mean that in Riak 2.0, if one wants buckets to be indexed in Solr, 
> one must create a new bucket_type in order to associate an index and then 
> associate buckets with this?
> 
> Thanks,
> 
> Paul
> -------------------------------------------
> Paul Walk
> http://www.paulwalk.net
> -------------------------------------------
> 
> 
> 
> 
> 
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 

-------------------------------------------
Paul Walk
http://www.paulwalk.net
-------------------------------------------






_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to