an><span class="p">)</span>  <span class="c1"># =&gt; [0, 1]</span>
<span class="nb">print</span><span class="p">(</span><span class="n">distances</span><span class="p">)</span>  <span class="c1"># =&gt; [0.0, 125.0]</span>

<span class="c1"># Save the index to disk to reload later (or in Java!)</span>
<span class="n">index</span><span class="o">.</span><span class="n">save</span><span class="p">(</span><span class="s2">&quot;output_file.voy&quot;</span><span class="p">)</span>
</pre></div>
</div>
<dl class