Skip to content

Instantly share code, notes, and snippets.

@ozzimpact
Created February 13, 2020 07:26
Show Gist options
  • Save ozzimpact/b22be26198699bce2389e99d12f375c7 to your computer and use it in GitHub Desktop.
Save ozzimpact/b22be26198699bce2389e99d12f375c7 to your computer and use it in GitHub Desktop.
GET /_search
{
"sort": [
{
"arrayField.complexSortField": {
"order": "desc"
}
}
],
"query": {
"match": {
"arrayField.complexField": "complexValue"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment