Skip to content

Commit 716a4c9

Browse files
committed
deploy: e938b29
1 parent 80dc96f commit 716a4c9

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

.doctrees/all-modules.doctree

5.71 KB
Binary file not shown.

.doctrees/environment.pickle

0 Bytes
Binary file not shown.

all-modules.html

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2927,14 +2927,19 @@
29272927

29282928
<dl class="py method">
29292929
<dt class="sig sig-object py" id="lance.LanceDataset.prewarm_index">
2930-
<span class="sig-name descname"><span class="pre">prewarm_index</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lance.LanceDataset.prewarm_index" title="Link to this definition"></a></dt>
2930+
<span class="sig-name descname"><span class="pre">prewarm_index</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">with_position</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.14)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lance.LanceDataset.prewarm_index" title="Link to this definition"></a></dt>
29312931
<dd><p>Prewarm an index</p>
29322932
<p>This will load the entire index into memory. This can help avoid cold start
29332933
issues with index queries. If the index does not fit in the index cache, then
29342934
this will result in wasted I/O.</p>
29352935
<dl class="field-list simple">
29362936
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
2937-
<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><em>str</em></a>) – The name of the index to prewarm.</p>
2937+
<dd class="field-odd"><ul class="simple">
2938+
<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><em>str</em></a>) – The name of the index to prewarm.</p></li>
2939+
<li><p><strong>with_position</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.14)"><em>bool</em></a><em>, </em><em>default False</em>) – This is only supported for <code class="docutils literal notranslate"><span class="pre">INVERTED</span></code> indices. If True, positions are
2940+
also loaded into the cache during prewarm so phrase queries do not need a
2941+
separate lazy positions read.</p></li>
2942+
</ul>
29382943
</dd>
29392944
</dl>
29402945
</dd></dl>
@@ -7900,14 +7905,19 @@
79007905

79017906
<dl class="py method">
79027907
<dt class="sig sig-object py" id="lance.dataset.LanceDataset.prewarm_index">
7903-
<span class="sig-name descname"><span class="pre">prewarm_index</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><span class="pre">str</span></a></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lance.dataset.LanceDataset.prewarm_index" title="Link to this definition"></a></dt>
7908+
<span class="sig-name descname"><span class="pre">prewarm_index</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">name</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><span class="pre">str</span></a></span></em>, <em class="sig-param"><span class="keyword-only-separator o"><abbr title="Keyword-only parameters separator (PEP 3102)"><span class="pre">*</span></abbr></span></em>, <em class="sig-param"><span class="n"><span class="pre">with_position</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.14)"><span class="pre">bool</span></a></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#lance.dataset.LanceDataset.prewarm_index" title="Link to this definition"></a></dt>
79047909
<dd><p>Prewarm an index</p>
79057910
<p>This will load the entire index into memory. This can help avoid cold start
79067911
issues with index queries. If the index does not fit in the index cache, then
79077912
this will result in wasted I/O.</p>
79087913
<dl class="field-list simple">
79097914
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
7910-
<dd class="field-odd"><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><em>str</em></a>) – The name of the index to prewarm.</p>
7915+
<dd class="field-odd"><ul class="simple">
7916+
<li><p><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><em>str</em></a>) – The name of the index to prewarm.</p></li>
7917+
<li><p><strong>with_position</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.14)"><em>bool</em></a><em>, </em><em>default False</em>) – This is only supported for <code class="docutils literal notranslate"><span class="pre">INVERTED</span></code> indices. If True, positions are
7918+
also loaded into the cache during prewarm so phrase queries do not need a
7919+
separate lazy positions read.</p></li>
7920+
</ul>
79117921
</dd>
79127922
</dl>
79137923
</dd></dl>

sphinx-reading-durations.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"all-modules": 6.178,
3-
"basic-io": 0.39,
4-
"data-evolution": 0.022,
2+
"all-modules": 5.39,
3+
"basic-io": 0.124,
4+
"data-evolution": 0.02,
55
"dataset": 0.031,
66
"index": 0.002,
7-
"index-and-search": 0.143,
7+
"index-and-search": 0.136,
88
"random-access": 0.021
99
}

0 commit comments

Comments
 (0)