Hello everyone, I need help with an elastic query.
My current query is:
{
"size" : 1,
"aggs": {
"NAME": {
"multi_terms": {
"terms": [{
"field": "fieldName1.keyword"
}, {
"field": "fieldName2Name.keyword"
}, {
"field": "fieldName3.keyword"
}]
}
}
}
}
I would like to increase "size" which is 10 by default, how should I do? Where should I place it in my query?
and I would like to display the most recent element (I have an eventDate for each of my documents) and display it from my bucket.
My goal is to use this query in a Vega Table type visualization
Thank you in advance for your answers