summaryrefslogtreecommitdiffstats
path: root/tests/files/search/GET_search_sort.txt
blob: 9a0567c8056bd3cfd4729ad5f919a3d3e8ae1537 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
GET /my-index-000001/_search
{
  "sort" : [
    { "post_date" : {"order" : "asc"}},
    "user",
    { "name" : "desc" },
    { "age" : "desc" },
    "_score"
  ],
  "query" : {
    "term" : { "user" : "kimchy" }
  }
}