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