I'm using the following query in 2.4.4 version
{
"size":100,
"query":
{
"filtered":
{
"query":
{
"query_string":{"query":"1"}
},
"filter":
{
"term":
{
"show_id":1
}
}
}
},
"sort":
["_score",
{
"version.episode.air":{"order":"desc"}
},
{
"tape_date":{"order":"desc"}
}
]
}
Can anyone help me with the new syntax in elasticsearch 5.x