Secondary indexes do not work with leveldb and write_once?
fdushin at basho.com
Wed Jan 13 14:57:37 EST 2016
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.
> On Jan 13, 2016, at 12:10 PM, Eugene Shubin <ev.shuba at gmail.com> wrote:
> 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?
> Eugene Shubin
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users