<div><br></div>   This must be a bug. It should match only the latest event of each type. Would you please open a JIRA specifically with your description of the problem and let me know?<div><br></div><div>   Thanks,</div><div>
       Edson</div><div><br><div class="gmail_quote">2011/1/29 OlliSee <span dir="ltr">&lt;<a href="mailto:o.roess@seeburger.de">o.roess@seeburger.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hey again everyone,<br>
<br>
I seem to be having another problem.<br>
<br>
When I have a rule like that<br>
<br>
when<br>
        A() over window:length(1)<br>
        B() over window:length(1)<br>
then<br>
        ...<br>
<br>
I imagine now having two windows of length 1. One always keeping the latest<br>
A event and one always keeping the latest B event. And I expect them to<br>
update themselves once a new event comes in.<br>
<br>
But if I have events coming in like this...<br>
<br>
A1, A2, B1<br>
<br>
The rule fires for (A2, B1)<br>
<br>
then another event B2 is coming in and it fires for (A2,B2)<br>
So far so good.<br>
<br>
Then another event A3 is coming in and the rule fires for (A3,B2) and<br>
(A3,B1).<br>
Why? Shouldn&#39;t the B window only have B2 inside since it arrived and thus<br>
fire only for (A3,B2)?<br>
<br>
I have already been searching for this problem, found this<br>
<a href="http://drools-java-rules-engine.46999.n3.nabble.com/DROOLS-problem-with-sliding-windows-td2039892.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/DROOLS-problem-with-sliding-windows-td2039892.html</a><br>

but I&#39;m not sure if this is the same problem as mine.<br>
<br>
Helping me understand this is highly appreciated, since I thought I had<br>
completely understood the window behaviour.<br>
<br>
Thanks in advance.<br>
Kind regards<br>
Oliver<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Sliding-window-of-length-1-equals-latest-event-tp2370162p2370162.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Sliding-window-of-length-1-equals-latest-event-tp2370162p2370162.html</a><br>

Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>