Solr Indexing and required fields.
rzezeski at basho.com
Tue May 22 14:25:13 EDT 2012
On Mon, May 21, 2012 at 11:43 AM, Les Mikesell <lesmikesell at gmail.com>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.
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the riak-users