How do I apply the Precision from the Ranking Evaluation API to all ids?

I'm using this page as a reference (Ranking evaluation API | Elasticsearch Guide [7.14] | Elastic) and I was just wondering how I'd apply the Precision part to all the ids in my index instead of having to do it 1 by 1? This is the code from the page:

GET /my-index-000001/_rank_eval
{
  "requests": [
    {
      "id": "JFK query",  # How would I match all indexes instead of just 1?
      "request": { "query": { "match_all": {} } },
      "ratings": []
    } ],
  "metric": {
    "precision": {
      "k": 20,
      "relevant_rating_threshold": 1,
      "ignore_unlabeled": false
    }
  }
}