Hi Eugene, Unfortunately, the write-once put path does not support pre-commit hooks, which the 2i system uses for indexing. So secondary indexing is not currently supported with write-once. However, the indexing through yokozuna (Riak Search 2.0) is done in the vnode back-end, and indexing with write-once is supported there.
-Fred > On Jan 13, 2016, at 12:10 PM, Eugene Shubin <ev.sh...@gmail.com> wrote: > > Hello, > I am using riak 2.1.3 with leveldb backend. > > Secondary indexes do not return me anything if bucket type has write_once > option set to true. > Record is accessible buy key and has index in metadata. > It works though for other bucket types. > > Is it bug or undocumented constraint? > > Best, > Eugene Shubin > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com