code: def test04_batch_search_by_ids(self):
      index = HnswIndex(self.dim)
      index.load(self.model_fname)
      T = [random.randrange(0, self.data_num) for y in xrange(100)]
      batch_res = index.batch_search_by_ids(
          T, 10, num_threads=12, include_distances=True
      )
      normal_res = [
          index.search_by_id(t, 10, include_distances=True) for t in T
      ]
      self.assertEqual(batch_res, normal_res)
  
imports: import unittest
  import random
  import os
  from n2 import HnswIndex
label_desc: Use image node_id 7 for calling the BasicTest obj's underlying member method code with example usage: obj.test04_batch_search_by_ids() without return types