Use terminate_after and sort query can't get the latest data

Why can't I find the latest data when I add terminated_after when sorting by creation time, the query statement is as follows

GET index-1/_search
{
  "from": 0,
  "size": 20,
  "terminate_after": 1111112,
  "query": {
    "bool": {
      "must": [
        {
          "query_string": {
            "query": "(((*)))",
            "fields": []
          }
        }
      ],
      "filter": [
        {
          "range": {
            "captureTime": {
              "from": 1657013890085,
              "to": 1659605890085,
              "include_lower": true,
              "include_upper": true,
              "boost": 1
            }
          }
        }
      ],
      "adjust_pure_negative": true,
      "boost": 1
    }
  },
  "sort": [
    {
      "captureTime": {
        "order": "desc"
      }
    }
  ],
  "track_total_hits": 2147483647
}

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