zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02310
[Bug 670358] Re: Add new aggregate API
Let me elaborate on my last comment...
If we set result_type to MostRecentSubject we will return the most recent event of each unique subject and the count how many times the subject occurred.
However if we ask for MostRecentEvent we will return most recent event and count how many times the event occurred which is always 1.
--
Add new aggregate API
https://bugs.launchpad.net/bugs/670358
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
Status in Zeitgeist Framework: Confirmed
Bug description:
Zeitgeist API can give us vague information but not statistics over the API
Use case:
- Give me counts of every subject_text from actor = Unity
Currently to do that one will need to either:
Request all events with Unity as an Actor and count the subject_text
This can be done much better IMHO
I am thinking of an Aggregation Extension.
But before we hack on that we need to agree if its necessary and how the API will look like.
References