Skip to content

Commit 9b2216f

Browse files
Milvus-doc-botMilvus-doc-bot
authored andcommitted
Release new docs to preview
1 parent ae7947a commit 9b2216f

File tree

16 files changed

+363
-95
lines changed

16 files changed

+363
-95
lines changed

v2.6.x/assets/bitmap.png

15.7 KB
Loading

v2.6.x/assets/load-workflow.png

892 KB
Loading

v2.6.x/scripts/config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,11 @@
509509
"token": "NuokbSgbroyVPQx14fKcm37bnoh",
510510
"type": "image",
511511
"alt_text": "deduplication-workflow"
512+
},
513+
{
514+
"token": "IbpqwpTFghdA37bU6dDc5eCUnfh",
515+
"type": "board",
516+
"alt_text": "load-workflow"
512517
}
513518
]
514519
}

v2.6.x/site/en/menuStructure/en.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,12 @@
12611261
"id": "eviction.md",
12621262
"order": 2,
12631263
"children": []
1264+
},
1265+
{
1266+
"label": "Best Practices for Tiered Storage",
1267+
"id": "best-practices-for-tiered-storage.md",
1268+
"order": 3,
1269+
"children": []
12641270
}
12651271
]
12661272
}

v2.6.x/site/en/userGuide/indexes/gpu/gpu-cagra.md

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -120,26 +120,17 @@ The following table lists the parameters that can be configured in `params` when
120120
</tr>
121121
<tr>
122122
<td><p><code>build_algo</code></p></td>
123-
<td><p>Selects the graph generation algorithm before pruning. Possible values:</p>
124-
<ul>
125-
<li><p><code>IVF_PQ</code>: Offers higher quality but slower build time.</p></li>
126-
<li><p><code>NN_DESCENT</code>: Provides a quicker build with potentially lower recall.</p></li>
127-
</ul></td>
123+
<td><p>Selects the graph generation algorithm before pruning. Possible values:</p><ul><li><p><code>IVF_PQ</code>: Offers higher quality but slower build time.</p></li><li><p><code>NN_DESCENT</code>: Provides a quicker build with potentially lower recall.</p></li></ul></td>
128124
<td><p><code>IVF_PQ</code></p></td>
129125
</tr>
130126
<tr>
131127
<td><p><code>cache_dataset_on_device</code></p></td>
132-
<td><p>Decides whether to cache the original dataset in GPU memory. Possible values:</p>
133-
<ul>
134-
<li><p><code>"true"</code>: Caches the original dataset to enhance recall by refining search results.</p></li>
135-
<li><p><code>"false"</code>: Does not cache the original dataset to save gpu memory.</p></li>
136-
</ul></td>
128+
<td><p>Decides whether to cache the original dataset in GPU memory. Possible values:</p><ul><li><p><code>"true"</code>: Caches the original dataset to enhance recall by refining search results.</p></li><li><p><code>"false"</code>: Does not cache the original dataset to save gpu memory.</p></li></ul></td>
137129
<td><p><code>"false"</code></p></td>
138130
</tr>
139131
<tr>
140132
<td><p><code>adapt_for_cpu</code></p></td>
141-
<td><p>Decides whether to use GPU for index-building and CPU for search.
142-
Setting this parameter to <code>"true"</code> requires the presence of the <code>ef</code> parameter in the search requests.</p></td>
133+
<td><p>Decides whether to use GPU for index-building and CPU for search.</p><p>Setting this parameter to <code>"true"</code> requires the presence of the <code>ef</code> parameter in the search requests.</p></td>
143134
<td><p><code>"false"</code></p></td>
144135
</tr>
145136
</table>
@@ -176,8 +167,7 @@ The following table lists the parameters that can be configured in `search_param
176167
</tr>
177168
<tr>
178169
<td><p><code>ef</code></p></td>
179-
<td><p>Specifies the query time/accuracy trade-off. A higher <code>ef</code> value leads to more accurate but slower search.
180-
This parameter is mandatory if you set <code>adapt_for_cpu</code> to <code>true</code> when you build the index.</p></td>
170+
<td><p>Specifies the query time/accuracy trade-off. A higher <code>ef</code> value leads to more accurate but slower search.</p><p>This parameter is mandatory if you set <code>adapt_for_cpu</code> to <code>true</code> when you build the index.</p></td>
181171
<td><p><code>[top_k, int_max]</code></p></td>
182172
</tr>
183173
</table>

v2.6.x/site/en/userGuide/indexes/scalar/bitmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ Use the `drop_index()` method to remove an existing index from a collection.
6666

6767
<div class="alert note">
6868

69-
- In **v2.6.3** or earlier, you must release the collection before dropping an index.
69+
- In **v2.6.3** or earlier, you must release the collection before dropping a scalar index.
7070

71-
- From **v2.6.4** or later, you can drop an index directly once it’s no longer needed—no need to release the collection first.
71+
- From **v2.6.4** or later, you can drop a scalar index directly once it’s no longer needed—no need to release the collection first.
7272

7373
</div>
7474

v2.6.x/site/en/userGuide/indexes/scalar/inverted.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ Use the `drop_index()` method to remove an existing index from a collection.
107107

108108
<div class="alert note">
109109

110-
- In **v2.6.3** or earlier, you must release the collection before dropping an index.
110+
- In **v2.6.3** or earlier, you must release the collection before dropping a scalar index.
111111

112-
- From **v2.6.4** or later, you can drop an index directly once it’s no longer needed—no need to release the collection first.
112+
- From **v2.6.4** or later, you can drop a scalar index directly once it’s no longer needed—no need to release the collection first.
113113

114114
</div>
115115

v2.6.x/site/en/userGuide/indexes/scalar/ngram.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@ Use the `drop_index()` method to remove an existing index from a collection.
235235

236236
<div class="alert note">
237237

238-
- In **v2.6.3** or earlier, you must release the collection before dropping an index.
238+
- In **v2.6.3** or earlier, you must release the collection before dropping a scalar index.
239239

240-
- From **v2.6.4** or later, you can drop an index directly once it’s no longer needed—no need to release the collection first.
240+
- From **v2.6.4** or later, you can drop a scalar index directly once it’s no longer needed—no need to release the collection first.
241241

242242
</div>
243243

v2.6.x/site/en/userGuide/indexes/scalar/rtree.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ Use the `drop_index()` method to remove an existing index from a collection.
113113

114114
<div class="alert note">
115115

116-
- In **v2.6.3** or earlier, you must release the collection before dropping an index.
116+
- In **v2.6.3** or earlier, you must release the collection before dropping a scalar index.
117117

118-
- From **v2.6.4** or later, you can drop an index directly once it’s no longer needed—no need to release the collection first.
118+
- From **v2.6.4** or later, you can drop a scalar index directly once it’s no longer needed—no need to release the collection first.
119119

120120
</div>
121121

v2.6.x/site/en/userGuide/schema/array-of-structs.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ To use an Array of Structs in Milvus, you need to define an array field when cre
138138

139139
1. Set the field's `max_capacity` attribute to an appropriate value to specify the maximum number of Structs each entity can contain in this field.
140140

141+
1. (**Optional**) You can set `mmap.enabled` for any field within the Struct element to balance the hot and cold data in the Struct.
142+
141143
Here's how you can define a collection schema that includes an Array of Structs:
142144

143145
<div class="multipleCode">
@@ -172,8 +174,8 @@ struct_schema = MilvusClient.create_struct_field_schema()
172174
struct_schema.add_field("text", DataType.VARCHAR, max_length=65535)
173175
struct_schema.add_field("chapter", DataType.VARCHAR, max_length=512)
174176

175-
# add multiple vector fields to the struct
176-
struct_schema.add_field("text_vector", DataType.FLOAT_VECTOR, dim=5)
177+
# add a vector field to the struct with mmap enabled
178+
struct_schema.add_field("text_vector", DataType.FLOAT_VECTOR, mmap_enabled=True, dim=5)
177179

178180
# reference the struct schema in an Array field with its
179181
# element type set to `DataType.STRUCT`
@@ -445,6 +447,8 @@ Specifically, you can directly use the names of the vector fields within Struct
445447

446448
Milvus provides `EmbeddingList` to help you organize query vectors for searches against an embedding list in an Array of Structs more neatly.
447449

450+
However, `EmbeddingList` can used only in `search()` requests without range search or grouping search parameters, let alone `search_iterator()` requests.
451+
448452
</div>
449453

450454
<div class="multipleCode">

0 commit comments

Comments
 (0)