hello sir @dadoonet, thank you for the fast response!
may I know how to run my aggregation on author_id.keyword? is it supposed to look like this?
'aggs' => [
'authors' => [
'terms' => [
'field' => 'author_id.keyword',
'size' => 25,
'order' => [ '_term' => 'asc' ]
]
],
]
If it is correct, I've started retrieving buckets!
Again, thank you very much, appreciate it!