However when I run this I get the error “catalogStream is not supported in the projections mode” when trying to start this. Am I missing something here? Also (not sure if this is relevant) all my system projections are running.
I am not sure if fromStreamsMatching actually works, it was originally
planned to work with the things we were doing with hooking projections
to lucene, I would need to review the code.
Ah right, thanks. Is the intention that it will work at some point in the future or will it be dropped?
I have an alternative projection which achieves the same thing as the fromStreamsMatching example but I’m not sure on the implications of using fromAll:
fromAll()
.whenAny(function (s, e) {
if (e.streamId.indexOf(“Sales_”) === 0) {
linkTo(‘Sales’, e);
}
});
``
These aren’t real use-cases, I’m just experimenting with partitioning streams a bit.