docstr: Search a vector with a simple payload
code: def test_search_vector_with_complex_payload(
      self, limit, offset, level, metric_type
  ):
      """
      Search a vector with a simple payload
      """
      name = gen_collection_name()
      self.name = name
      nb = limit + offset + 100
      dim = 128
      schema_payload, data = self.init_collection(
          name, dim=dim, nb=nb, metric_type=metric_type
      )
      vector_field = schema_payload.get("vectorField")
      # search data
      vector_to_search = preprocessing.normalize(
          [np.array([random.random() for i in range(dim)])]
      )[0].tolist()
      output_fields = get_common_fields_by_data(
          data, exclude_fields=[vector_field]
      )
      payload = {
          "collectionName": name,
          "vector": vector_to_search,
          "outputFields": output_fields,
          "filter": "uid >= 0",
          "limit": limit,
          "offset": offset,
      }
      rsp = self.vector_client.vector_search(payload)
      if offset + limit > constant.MAX_SUM_OFFSET_AND_LIMIT:
          assert rsp["code"] == 90126
          return
      assert rsp["code"] == 200
      res = rsp["data"]
      logger.info(f"res: {len(res)}")
      assert len(res) == limit
      for item in res:
          assert item.get("uid") >= 0
          for field in output_fields:
              assert field in item
  
imports: import datetime
  import random
  import time
  from sklearn import preprocessing
  import numpy
  import sys
  import json
  import time
  from utils import constant
  from utils.utils import gen_collection_name
  from utils.util_log import test_log
  import pytest
  from api.milvus import VectorClient
  from base.testbase import TestBase
  from utils.utils import get_data_by_fields, get_data_by_payload, get_common_fields_by_data
label_desc: Use image node_id 3 for calling the TestSearchVector obj's underlying member method code with example usage: obj.test_search_vector_with_complex_payload(limit, offset, level, metric_type) without return types