code: def task_2(data_size, host):
      """
      task_2:
          before reinstall: create collection, insert data, create index, insert data, create index,load and search
          after reinstall: get collection, load, search, insert data, create index, load, and search
      """
      prefix = "task_2_"
      connections.connect(host=host, port=19530, timeout=60)
      get_collections(prefix)
      create_collections_and_insert_data(prefix, count=data_size)
      create_index(prefix)
      create_collections_and_insert_data(prefix, count=data_size)
      create_index(prefix)
      load_and_search(prefix)
  
imports: from pymilvus import connections
  from utils import *
label_desc: Use image node_id 2 for calling a global function with example usage: task_2(data_size, host) without return types