Re: CEP: Different consuming strategies within a pattern

2018-06-26 Thread Shailesh Jain
Thanks, Dawid. On Mon, Jun 25, 2018 at 12:48 PM, Dawid Wysakowicz wrote: > Hi Shailesh, > > It does not emit results because "followedBy" accepts only the first > occurrence of matching event. Therefore in your case it only tries to > construct pattern with start(id=2). Try removing this event

Re: CEP: Different consuming strategies within a pattern

2018-06-25 Thread Dawid Wysakowicz
Hi Shailesh, It does not emit results because "followedBy" accepts only the first occurrence of matching event. Therefore in your case it only tries to construct pattern with start(id=2). Try removing this event and you will see it matches the other one. If you want to try to construct match with

CEP: Different consuming strategies within a pattern

2018-06-25 Thread Shailesh Jain
Hi, I'm trying to detect a sequence like A followed by B, C, D. i.e. there is no strict contiguity between A and B, but strict contiguity between B, C and D. Sample test case: https://gist.github.com/jainshailesh/57832683fb5137bd306e4844abd9ef86 testStrictFollowedByRelaxedContiguity passes, but