How can distinct document result without using Aggregation

I explain in simple way : Select distinct(*) from Product ı try to do in
elasticsearch but ı find aggregation cardinality but this can work for me ı
need distinct all document , how can ı do that ,
I think ı can do with script but find any clue. Is there any solution ??

Please update your bookmarks! We have moved to

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit