Nested_path deprecated

I have a query which does its job, but at the top of the result I get this message: #! Deprecation: [nested_path] has been deprecated in favor of the [nested] parameter.
My query looks like this:

GET ticket/_search
{
  "query": {
    "match_all": {}
  },
  "size": 1,
  "_source": ["TTS_Nummer", "Historie.TTH_DatumZeit"], 
  "sort": [
    {
      "Historie.TTH_DatumZeit": {
        "order": "desc",
        "nested_path": "Historie",
        "mode": "max"
      }
    }
  ]
}

I know that the message means that I shouldn't use nested_path, but what parameter am I supposed to use? Or does the problem even matter?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.