code: def test_multi_index():
      ndim = 10
      index_a = Index(ndim=ndim)
      index_b = Index(ndim=ndim)
  
      vectors = random_vectors(count=3, ndim=ndim)
      index_a.add(42, vectors[0])
      index_b.add(43, vectors[1])
  
      indexes = Indexes([index_a, index_b])
  
      # Search top 10 for 1
      matches = indexes.search(vectors[2], 10)
      assert len(matches) == 2
  
      # Search top 1 for 1
      matches = indexes.search(vectors[2], 1)
      assert len(matches) == 1
  
      # Search top 10 for 3
      matches = indexes.search(vectors, 10)
      assert len(matches) == 3
      assert len(matches[0].keys) == 2
  
file_path: usearch/python/scripts/test_tooling.py
imports: import os
  import pytest
  import numpy
  from usearch.io import load_matrix, save_matrix
  from usearch.index import search
  from usearch.eval import random_vectors
  from usearch.index import Match, Matches, BatchMatches, Index, Indexes
label_desc: Use image node_id 6 for calling a global function with example usage: test_multi_index() without return types