Hi,
I have a sketch pushed to elastic search but I am not able to perform any aggregate operation on that sketch.
Please help.
Thanks
Arun Ramani
Hi,
I have a sketch pushed to elastic search but I am not able to perform any aggregate operation on that sketch.
Please help.
Thanks
Arun Ramani
I'm sorry, I don't quite understand what you are trying to do. Can you elaborate a bit, or provide some curl reproduction of the steps you took so others can follow along?
Hi,
I am sorry for not being clear. I have a sketch column generated and pushed to elastic search as a binary column. I am trying to compute distinct count using the cardinality API for various different dimensions. Unfortunately, the query does not work for the sketch column which is unique count.
P.S - This is the curl command I am trying to execute:
curl -XGET 'http://<ES_HOST_NAME>:9200/type/_search/?browser="Chrome"' -d '{ "size" : 0, "aggs" : { "distinct_count" : { "cardinality" : { "field" : "unique_user_count"} } } }'
Thanks
Arun Ramani
© 2020. All Rights Reserved - Elasticsearch
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.