class_docstr: Combine query results from a sliced dataset (for k-nn search) 
class_docstr_tok: ["Combine","query","results","from","a","sliced","dataset","(","for","k-nn","search",")"]
code: def finalize(self):
      self.heaps.reorder()
  
imports: import time
  from faiss.contrib import rpc
  import combined_index
  import argparse
  from multiprocessing.pool import ThreadPool
  import faiss
  import numpy
label_desc: Use image node_id 3 for calling the ResultHeap obj's underlying member method code with example usage: obj.finalize() without return types