docstr: Search a vector with a simple payload
code: def test_search_vector_with_invalid_limit(self, limit):
      """
      Search a vector with a simple payload
      """
      name = gen_collection_name()
      self.name = name
      dim = 128
      schema_payload, data = self.init_collection(name, dim=dim)
      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": 0,
      }
      rsp = self.vector_client.vector_search(payload)
      assert rsp["code"] == 1
  
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 7 for calling the TestSearchVector obj's underlying member method code with example usage: obj.test_search_vector_with_invalid_limit(limit) without return types