code: def create_payload_index(peer_url, collection_name):
      r_batch = requests.put(
          f"{peer_url}/collections/{collection_name}/index?wait=false",
          json={"field_name": "city", "field_schema": "keyword"},
      )
      assert_http_ok(r_batch)
  
imports: import pathlib
  from .fixtures import upsert_random_points, create_collection
  from .utils import *
  from .assertions import assert_http_ok
label_desc: Use image node_id 2 for calling a global function with example usage: create_payload_index(peer_url, collection_name) without return types