Hey Marius,

To put it simply, yes, 2.1.1 does not support write_once with search. Some 
objects will get indexed, but it will take a very long time and there will be 
issues with the cluster, etc…

There should have been a note about this. Our apologies. We have solved the 
issue, and it will be supported in 2.1.2, which is our next release. You can 
read more about it here: https://github.com/basho/yokozuna/issues/512 
<https://github.com/basho/yokozuna/issues/512>. 

Thanks.

Zeeshan Lakhani
programmer | 
software engineer at @basho | 
org. member/founder of @papers_we_love | paperswelove.org
twitter => @zeeshanlakhani

> On Aug 10, 2015, at 4:22 PM, Marius Cobzarenco <[email protected]> wrote:
> 
> Hi everyone,
> 
> Riak Search does not seem to work in a bucket whose bucket type has 
> write_once = true. I could not see this mentioned anywhere in the 
> documentation, but I was curious if it is to be expected? It seems like the 
> objects never get indexed. 
> 
> My bucket type is:
> 
> riak-admin bucket-type create raw_tweets \
>     '{"props": {"search": true, "search_index": "index_raw_tweets", "n_val": 
> 2, "allow_mult": false, "write_once": true}}' && \
>     riak-admin bucket-type activate raw_tweets
> 
> 
> If I remove "write_once":true, the objects are indexed.
> 
> Many thanks
> Marius
> 
> 
> 
> 
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

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

Reply via email to