Hi,
I think I'm stumbling upon some limitations of the insights engine. Is it somehow possible to:
* Execute a query with date-difference queries? Eg: I want to be able to create a query (in Zeppelin/Solr) which calculates how many days a certain document is active (suppose we have a custom aspect which defines an inactiveDate). So I want a query which calculates inActiveDate - cm:created and then groups the results accordong this datediff. so my result should be:
- There were x documents active for 5 days
- there were y documents active for 7 days
- ...
Possible?
Running on ACS 6.1 and insights engine 1.1.0.1
DATEDIFF sql function is not supported, as this cannot be achieved using Solr SQL.
The better approach is tu use a classic facet query for this use case.
Is it possible to do facet queries in Zeppelin? Because I would want to put the results in a pie-chart or something similar.
Did you try a GROUP BY clause?
Yes, but to do that I would first need a way to calcalute the date-difference, no?
If this is not possible, I would think this is a feature that should really be investigated. Common use cases you would want to report on is:
* average throughput time of a case (from open to closed)
* average throughtput of workflows
* all other date-related reports
Yes, I also think this can be an useful feature.
Can you open an issue for that?
We'll try to include it in a future release.
Thanks!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.