Hi
I would need to distinct my discovery results by customer ID,
and get all details of each customer latest action/document.
I am aware that i can get the unique count by using a visualization , BUT it is not enough , I need to get the full document details and there are many different customers : ) .
Please let me know if there is a way to do what i need
Thanks
BTW
My question is similar to the following discussion that was closed before replying completely :
unfortunately the discover app can not perform that transformation, but the "Data Table" visualization can achieve something similar. Just use a "Terms" aggregation on the field identifying your customers (e.g. customer_id) to generate the buckets and "Top Hit" aggregations as the metrics (e.g. on the _source field).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.