How to do join in aggregation result

I perform aggregation query that return result like this one
{
aggregation : {
top_books : {
buckets: [
{
key: "book-543',
doc_count: 20
}
.....
]
}
}

      }

Now i want all the details for the key "book-543"

How to do this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.