I have datatable visualization and need multiply sort (two fields), also I need to get 15% of sorted results. Can I do this in visState, using elasticsearch sort, and how?
I tried to sort by the end of the request but It doesn't seem to work
"sort": [
{
"amount": {
"order": "desc"
},
"orders": {
"order": "desc"
}
}
],
"size": 150 ( for example, don't know how to write %)
Thx.
Not sure what you mean by 15% of the sorted results.
I don't believe there is a way to multiple columns in the aggregations for sorting. You might be able to accomplish what you're looking for with Scripted Fields.
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.