aboutsummaryrefslogtreecommitdiffstats
path: root/tests/files/search/POST_search_sort_mode.txt
blob: 54155ca945d1090c7f0efc1f4275605f5241f48d (plain)
1
2
3
4
5
6
7
8
9
POST /some-index/_search
{
   "query" : {
      "term" : { "product" : "chocolate" }
   },
   "sort" : [
      {"price" : {"order" : "asc", "mode" : "avg"}}
   ]
}