title: How to save a index built using ScaNN?
body: <p>I am wondering how can we save the index built using <a href="https://github.com/google-research/google-research/tree/master/scann" rel="nofollow noreferrer">ScaNN tool</a>.</p>
  <pre><code>start = time.time()
  
  searcher = scann.scann_ops_pybind.builder(normalized_dataset, 10, &quot;dot_product&quot;).tree(
      num_leaves=2000, num_leaves_to_search=100, training_sample_size=250000).score_ah(
      2, anisotropic_quantization_threshold=0.2).reorder(100).build()
  
  end = time.time()
  </code></pre>
  <p>print(&quot;Index Latency (ms): {:8.4f}&quot;.format( 1000*(end - start)) )</p>