[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-java-dev
Subject:    [Dev]  About the Siddhi expression
From:       정형근 <ruri362 () gmail ! com>
Date:       2017-08-31 1:55:08
Message-ID: CA+QjPHks4o3Fv6qW5Fj5ib3bJzXSu-bSu4Ni95WukG1pYzsYVQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I have a question about siddhi query.

Is there a way to sort the Top-k elements with a Siddhi query?

I know about the sort window.
I also know that this window only holds elements as large as the window
size.
That is, once the window size is exceeded, the elements are deleted.
I think this is unfair because the value of data can be updated.

So what I want to do is recalculate the top k rankings for every incoming
data.
Do you have a good idea?

[Attachment #5 (text/html)]

<div dir="ltr"><span id="gmail-result_box" lang="en">I have a question about siddhi \
query.</span><div><span lang="en"><br>Is there a way to sort the Top-k elements with \
a Siddhi query?</span></div><div><span lang="en"><br>I know about the sort \
window.<br>I also know that this window only holds elements as large as the window \
size.  </span><div><span lang="en">That is, once the window size is exceeded, the \
elements are deleted.  </span></div><div><span lang="en">I think this is unfair \
because the value of data can be updated.</span></div><div><span lang="en"><br>So \
what I want to do is recalculate the top k rankings for every incoming data.<br>Do \
you have a good idea?</span><br></div></div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic