Hi Josh, > > right now is that it would have to find every mediapackage in the > > index and inspect whether it is related to the series in question > > then update the media pacakge's role, finally recreating all of the > > indicies. Seems heavy and denormalized.) > > Right, the series service shouldn't need to know about all of these > details. That's why an eventing mechanism works well here. So if > you want to update a series, just send an event indicating that the > series has changed, and the event handler will update the search > index for you, asynchronously.
Thanks for these answers, I think this is the approach we'll take. I filed a task that hopefully Adam will get to for 1.4 to add an event handler for series ACL changes to make sure those changes get propagated to the solr indicies for mediapackages related to the series. I imagine there will be questions about how to register to listen for events, but I'll let him handle that! Regards, Chris -- Christopher Brooks, BSc, MSc ARIES Laboratory, University of Saskatchewan Web: http://www.cs.usask.ca/~cab938 Phone: 1.306.966.1442 Mail: Advanced Research in Intelligent Educational Systems Laboratory Department of Computer Science University of Saskatchewan 176 Thorvaldson Building 110 Science Place Saskatoon, SK S7N 5C9 _______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
