u On Mon, May 21, 2012 at 11:43 AM, Les Mikesell <[email protected]>wrote: > > > Is there - or could there be - an efficient way to grow/expire indexes > for time-related items like news articles where you would generally > want the results listed newest-first? Like being able to start new > indexes at a rate where the size makes sense, having way to tell the > server to merge the results to cover some timespan, and being able to > expire by just dropping old indexes as they age without having to > rewrite anything. > > Les,
Currently Riak's backends don't really have any way to initiate communication with the vnode. E.g. bitcask has key expiry but no way to fire an event back up the chain to the vnode to let it know "this key is expired and you should clear it's indexes." Another potential way to do it is put the notion of expiry in both the object and index backends. In that case you'll have to deal with the fact that there is a race condition between the two. Which may not matter depending on your applications needs. -Z
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
